From: utzoo!decvax!ucbvax!ARPAVAX:UNKNOWN:dove@mit-dspg@mit-mc
Newsgroups: net.bugs.2bsd
Title: csh and tset
Article-I.D.: ucbvax.8515
Posted: Thu Sep 16 18:13:33 1982
Received: Wed Sep 22 08:23:29 1982

From: dove at mit-dspg at mit-mc
My mistake.  The in csh, you must say "set noglob" outside of the
eval `tset -s`.  I had thought that the noglob generated by tset would
take care of it.  Apparently however, the sh passes '[' within single
quotes 

echo `echo 'a[b'`

returns

a[b

in csh that gets an "missing [" message unless noglob is set.
On the other hand in csh

echo 'a[b'

with noglob unset works fine, returning

a[b

Does anyone understand why it would parse the 'a[b' differently when
it was being passed in the first case?  Are the ' being stripped of by
the first parsing causing the cmd line 'echo a[b' to be executed?