http://qs321.pair.com?node_id=979952


in reply to Re: Getting lines in a file between two patterns
in thread Getting lines in a file between two patterns

This will also print START/END, if this is not desired, try:
perl -ne 'if (/START/../END/) {print unless /START/ or /END/}'