This is what struck me as the most obvious solution, but, of course, there's more than one obvious way to do it...my $begin = shift @ARGV; my $end = shift @ARGV; $_=<> until /^$begin$/; while (<>) { last if /^$end$/; print; }
In reply to Re: Re: Finding part of a file
by Zed_Lopez
in thread Finding part of a file
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |