Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] shell question
- Date: Sat, 17 Apr 2004 06:34:09 +0900
- From: Stephen Lee <sl@example.com>
- Subject: Re: [tlug] shell question
- References: <20040416041018.A39D.SL@example.com> <20040416145622.W12264@example.com>
Tod McQuillin <devin@example.com> wrote: > On Fri, 16 Apr 2004, Stephen Lee wrote: > > I often find myself wanting to remove from piped data lines starting > > with one regxp and ending with another. e.g. > > perl -ne 'print unless /^Beginning$/ .. /^Finishing$/' file Thanks for the answer. I can do the opposite with awk '/^Beginning$/,/^Finishing$/ { print }' but I don't see any obvious, short way to reverse it. Yours works great. Stephen
- References:
- [tlug] shell question
- From: Stephen Lee
- Re: [tlug] shell question
- From: Tod McQuillin
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] shell question
- Next by Date: Re: [tlug] shell question
- Previous by thread: Re: [tlug] shell question
- Next by thread: Re: [tlug] shell question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links