remove middle lines from file using sed
December 17th, 2013 by Lawrence David
to remove lines 2 through 18 of file foo.bar, call:
sed -e '2,18d' foo.bar
December 17th, 2013 by Lawrence David
to remove lines 2 through 18 of file foo.bar, call:
sed -e '2,18d' foo.bar