Globbing in csh
Jim Armstrong
armstron at cs.arizona.edu
Sat Feb 16 19:36:19 AEST 1991
In article <1991Feb15.135812.5010 at druid.uucp> darcy at druid.uucp (D'Arcy J.M. Cain) writes:
>ls | sed '1,/george/d'
>So your example would be:
>cat `ls | sed '1,/george/d'` > out_file
Thanks a lot. Now I would like to generalize it using an alias.
I tried alias mycat "cat `ls | sed '1,/\!*/d'` | less"
but it didn't work.
Could you help me again?
--
Jim Armstrong "The nonpayment and subsequent abuse of
armstron at cs.arizona.edu socially powerless athletes is simply a
{uunet|noao}!arizona!armstron form of modern-day slavery" --Rick Telander
More information about the Comp.unix.questions
mailing list