Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!jarthur!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!ukma!usenet.ins.cwru.edu!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) Newsgroups: comp.unix.shell Subject: Re: weird csh thing Message-ID: <1991Jan12.035344.29624@NCoast.ORG> Date: 12 Jan 91 03:53:44 GMT References: <1991Jan10.182958.21295@bronze.ucs.indiana.edu> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) Followup-To: comp.unix.shell Organization: North Coast Computer Resources (ncoast) Lines: 18 As quoted from <1991Jan10.182958.21295@bronze.ucs.indiana.edu> by speelmo@bronze.ucs.indiana.edu (Lance Speelmon -- UCS): +--------------- | In article bagchi@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@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