|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Deleting first and last lines of a text fileby Bloodnok (Vicar) |
| on May 16, 2014 at 10:25 UTC ( [id://1086282]=note: print w/replies, xml ) | Need Help?? |
|
sed -e '1d;$d' < infile > outfile
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||