If what you want are the lines fron "id:" to "Zip:" then:
m/^id:/ .. m/^Zip:/ and print while (<INFILE>);
does the trick.
In reply to Re: Print 4 Lines below matching criteria
by GrandFather
in thread Print 4 Lines below matching criteria
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |