in reply to Deleting first and last TWO(2) lines of a text file
This will also keep the old version around as <input.file>.oldperl -i.old -ne 'print unless $.==1 or eof' <input-file>
In Section
Seekers of Perl Wisdom
in reply to Deleting first and last TWO(2) lines of a text file
This will also keep the old version around as <input.file>.oldperl -i.old -ne 'print unless $.==1 or eof' <input-file>