weird csh thing
Lance Speelmon -- UCS
speelmo at bronze.ucs.indiana.edu
Fri Jan 11 05:29:58 AEST 1991
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...
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 at bronze.ucs.indiana.edu | Network Operations Center |
==============================================================================
More information about the Comp.unix.shell
mailing list