Fellow monks, is there a quick analogue to grep -p using regexp? I'm currently using a
next if ...statement because I have a specific case that I'm looking for, but I'd like a more general and robust way of getting information on lines that are related to a target line by proximity.
Does perl's built-in grep function support such functionality?
Thanks!
-Matt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |