Tuesday, October 21, 2008

How to remove last line of a large file

I need to remove last line of a file that is very very huge.

sed '$d' infile > outfile

copied from here

No comments: