Just another Perl shrine | |
PerlMonks |
Re: grep only lines having matched patternby philipbailey (Curate) |
on Apr 01, 2021 at 09:19 UTC ( [id://11130665]=note: print w/replies, xml ) | Need Help?? |
The approach does depend on how your input data varies, but the below will work for your example.
In Section
Seekers of Perl Wisdom
|
|