Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!sdd.hp.com!spool2.mu.edu!news.cs.indiana.edu!bronze!speelmo From: speelmo@bronze.ucs.indiana.edu (Lance Speelmon -- UCS) Newsgroups: comp.unix.shell Subject: Re: weird csh thing Message-ID: <1991Jan10.182958.21295@bronze.ucs.indiana.edu> Date: 10 Jan 91 18:29:58 GMT References: Organization: Indiana University, Bloomington Lines: 27 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... Lance > >$ 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 > -- ============================================================================== | Lance Speelmon | University Computing Services | | speelmo@bronze.ucs.indiana.edu | Network Operations Center | ==============================================================================