in reply to I'm looking for a one-liner filter 'twixt two regexes
Note that this will not allow /start/ and /end/ to be on the same line. If you want that as an option, you need to replace the .. operator with ....perl -ne 'print if /start/ .. /end/' *.html
See man perlop.
-- Dan
|
|---|