weird csh thing
Brandon S. Allbery KB8JRR
allbery at NCoast.ORG
Sat Jan 12 14:53:44 AEST 1991
As quoted from <1991Jan10.182958.21295 at bronze.ucs.indiana.edu> by speelmo at bronze.ucs.indiana.edu (Lance Speelmon -- UCS):
+---------------
| In article <BAGCHI.91Jan6000722 at snarf.eecs.umich.edu> bagchi at eecs.umich.edu (Ranjan Bagchi) writes:
| >anyone care to explain?? (I`m in csh)
| Try:
| set p = `w | tail +3`
| i think that should fix it...
+---------------
Ah, no. This will set "p" to the output of "w | tail +3"... once and only
once. Ranjan is trying to use a variable as an alias.
++Brandon
--
Me: Brandon S. Allbery VHF/UHF: KB8JRR on 220, 2m, 440
Internet: allbery at NCoast.ORG Packet: KB8JRR @ WA8BXN
America OnLine: KB8JRR AMPR: KB8JRR.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery Delphi: ALLBERY
More information about the Comp.unix.shell
mailing list