Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Delete last line of file with regexby jwkrahn (Abbot) |
on Jul 22, 2020 at 22:13 UTC ( [id://11119684]=note: print w/replies, xml ) | Need Help?? |
I want to delete the last line of a file but only if it begins with ##
In Section
Seekers of Perl Wisdom
|
|