Article View: net.bugs.2bsd
Article #89Re: csh and tset
From: utzoo!decvax!cca!hplabs!hao!menl...
Date: Thu, 16 Sep 1982 00:32
Date: Thu, 16 Sep 1982 00:32
21 lines
1160 bytes
1160 bytes
Actually, nothing that you noted about that way eval works with tset
is entirely correct. If you look at the man page for tset, it says there
is a bug in the way the csh does evals, and the correct way to do a tset is:
set noglob
eval `tset [blah] [blah] ...`
The reason the tset works is that the shell variable noglob stays set
after the first eval. Doing a second eval does not do any file name expansion
because noglob is set from the first eval. The actual bug is that file name
expansion is done by eval before command execution (or some other nonsense
like that). I don't think the TERMCAP environment variable has anything to
do with it.
Terry Laskodi
{dec,ucb}vax!teklabs!terryl (UUCP)
or
terryl@tektronix (CSNET)
or
terryl.tektronix@udel-relay (ARPA)
Technical Details
Message-ID:
<bnews.teklabs.1395>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
From: utzoo!decvax!cca!hplabs!hao!menlo70!sytek!zehntel!teklabs!terryl@sri-unix Newsgroups: net.bugs.2bsd Title: Re: csh and tset Article-I.D.: teklabs.1395 Posted: Thu Sep 16 00:32:50 1982 Received: Wed Sep 22 06:46:28 1982 Subject: Re: csh and tset Date: Thu, 16 Sep 1982 00:32:50 +0000 Message-ID: <bnews.teklabs.1395>