Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: help: extracting multiple lines from file based on match in one lineby olivierp (Hermit) |
on Nov 16, 2004 at 23:55 UTC ( [id://408294]=note: print w/replies, xml ) | Need Help?? |
This wouldn't delete lines from your original file, but at least splits it in two separate ones. Note that it relies on your input being formatted as your example data.
HTH -- Olivier
In Section
Seekers of Perl Wisdom
|
|