Re^2: Grab 3 lines before and 2 after each regex hit (sliding window)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Perl script to match a regexp in the prior line and other multiple lines
by LanX
in thread Perl script to match a regexp in the prior line and other multiple lines
by kshitij
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |