weird csh thing

Ranjan Bagchi bagchi at eecs.umich.edu
Sun Jan 6 16:07:22 AEST 1991


anyone care to explain??  (I`m in csh)


$ set p = "w | tail +3 "
$ echo $p
w | tail +3
$ $p
Usage: w [ -hlsuw ] [ user ]
$ w | tail +3
benjo    ttyp3    10:13pm           41      4  -sh 
benjo    ttyp4    10:17pm         3:22      4  -csh 
$ exit
$ exit

Process shell finished


shouldn't "$p" have the same effect as "w | tail +3" ?

	-rj
--
--------------------------------------------------------------------------------
Ranjan Bagchi - At Large.  Well Kinda.  |  what kind of person
bagchi@[eecs                            |  would want to count syllables
        caen,                           |  just to write haiku?
	math.lsa].umich.edu     	|  
--------------------------------------------------------------------------------



More information about the Comp.unix.shell mailing list