[net.unix] tset and noglob

allbery@ncoast.UUCP (Brandon Allbery) (09/06/86)

Quoted from <562@nike.UUCP> ["Re: setenv problem in C-shell"], by schoch@nike.UUCP (Steve Schoch)...
+---------------
| In article <1427@tektools.UUCP>, jerryp@tektools.UUCP (Jerry Peek) writes:
| > > set noglob; eval `tset ... `
| > 
| > Not just that!  Don't forget to do "unset noglob" -- otherwise, the shell
| > won't expand filename wildcard characters afterwards.  Do this:
| > 
| > 	set noglob; eval `tset ...`; unset noglob
| 
| That is not necessary.  The "tset -s" command prints "unset noglob;" as
| the last thing it does, and this is evauated correctly by the eval,
| so you really don't need the "unset noglob" on the command line.
+---------------

On our system, tset also outputs the "set noglob".  Now if only our csh had
the eval command...

++Brandon
-- 
  ---------------- /--/	Brandon S. Allbery		UUCP: decvax!cwruecmp!
 /              / /|\/	Tridelta Industries, Inc.        ncoast!tdi2!brandon
----    -------- /-++	7350 Corporate Blvd.		PHONE: +1 216 974 9210
   /   / /---,  ----	Mentor, Ohio 44060		SYSOP: UNaXcess/ncoast
  /   / /    / /  /	     -- HOME --			 (216) 781-6201 24 hrs.
 /   / /    / /  /	6615 Center St. Apt. A1-105	ARPA:  ncoast!allbery%
----  -----~ ----	Mentor, Ohio 44060-4101		 case.CSNET@csnet-relay