in reply to Between START .. END
while (<file>) { next unless my $where = /START/ .. /END/; print unless $where == 1 or $where =~ /E0/; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Between START .. END
by darrengan (Sexton) on Sep 14, 2005 at 02:22 UTC |