perl -e 'while (<>){print if (/^START/../^END/);}' input.txt
In reply to Re: Getting lines in a file between two patterns
by Utilitarian
in thread Getting lines in a file between two patterns
by darklord_999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |