in reply to Re: Finding part of a file
in thread Finding part of a file
awk -e '/banana/,/grape/' fruit.txt
Its always a good idea to remember where these good ideas come from :-)
One side-effect of learning perl is that you become unable to write non-trivial awk, IME.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Finding part of a file
by impossiblerobot (Deacon) on Dec 04, 2001 at 22:07 UTC |