Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: how to check for a word in a file and if found remove that line, the above line and the below line from the file.by BillKSmith (Monsignor) |
on Jan 21, 2016 at 03:30 UTC ( [id://1153234]=note: print w/replies, xml ) | Need Help?? |
Another special case is when /xxxxx/ appears on two (or more) consecutive lines.
Bill
In Section
Seekers of Perl Wisdom
|
|