This will also keep the old version around as <input.file>.oldperl -i.old -ne 'print unless $.==1 or eof' <input-file>
In reply to Re: Deleting first and last lines of a text file
by morgon
in thread Deleting first and last TWO(2) lines of a text file
by vsmeruga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |