Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!noao!arizona!armstron From: armstron@cs.arizona.edu (Jim Armstrong) Newsgroups: comp.unix.questions Subject: Re: Globbing in csh Message-ID: <881@caslon.cs.arizona.edu> Date: 16 Feb 91 08:36:19 GMT References: <857@caslon.cs.arizona.edu> <1991Feb15.135812.5010@druid.uucp> Distribution: na Organization: U of Arizona CS Dept, Tucson Lines: 19 In article <1991Feb15.135812.5010@druid.uucp> darcy@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@cs.arizona.edu socially powerless athletes is simply a {uunet|noao}!arizona!armstron form of modern-day slavery" --Rick Telander