Article View: net.bugs.2bsd
Article #92csh and tset
From: utzoodecvaxucbvaxARPAVAXUNKNOWNd...
Date: Thu, 16 Sep 1982 18:13
Date: Thu, 16 Sep 1982 18:13
24 lines
964 bytes
964 bytes
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?
Technical Details
Message-ID:
<bnews.ucbvax.8515>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
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 Subject: csh and tset Date: Thu, 16 Sep 1982 18:13:33 +0000 Message-ID: <bnews.ucbvax.8515>