The following should happen: 1> \set x='"' 2> \echo $x " however, what actually happens is: 1> \set x='"' 2> \echo $x Did not find a matching closing double quote