Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Deleting first and last lines of a text fileby AppleFritter (Vicar) |
on May 16, 2014 at 10:57 UTC ( [id://1086288]=note: print w/replies, xml ) | Need Help?? |
That'll not just delete the first and the last line, but also any line that happens to be the same. I.e., it'll turn this:
into this:
rather than this:
In Section
Seekers of Perl Wisdom
|
|