Archive

Monthly Archives: November 2013

Which of these lines yield an error?

A=2;{A=3;}
A=2;{ A=3;}
A=2;{A=3; }
A=2;{ A=3 }
A=2;(A=3)
A=2;{(A=3)}
A=2;({A=3})

A main difference between round and curly brackets is that the former make the contained commands to be executed in a subshell. As we see here, they also vary in their syntax.