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.
In reply to Re: Re: Finding part of a file
by jbert
in thread Finding part of a file
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |