in reply to Deleting first and last TWO(2) lines of a text file
sed -e '1d;$d' < infile > outfile
A user level that continues to overstate my experience :-))
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Deleting first and last lines of a text file
by vsmeruga (Acolyte) on May 16, 2014 at 10:43 UTC | |
by Bloodnok (Vicar) on May 16, 2014 at 11:19 UTC | |
by vsmeruga (Acolyte) on May 16, 2014 at 12:31 UTC |
In Section
Seekers of Perl Wisdom