but it doesn't output anything! Any ideas?perl -pi.bak -e "/end_reg/ && print && last; /start_reg/ && $inside++; + next unless inside;" *.html
In reply to Re: I'm looking for a one-liner filter 'twixt two regexes
by msemtd
in thread I'm looking for a one-liner filter 'twixt two regexes
by msemtd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |