This topic is Bio90's very first request for assistance at PerlMonks. Wouldn't it have been more helpful to have just directly offered grep as a better solution?
Why?
In reply to Re^8: How to print the lines immediately above and below a matching line?
by Anonymous Monk
in thread How to print the lines immediately above and below a matching line?
by Bio90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |