sed saves the day

The following command:

        sed -e 1,250000d report.tsv > output.txt

Removes the first 1/4 million rows from the given file before passing the output to a file.

This is very useful when a tsv file is 15 Mb – way too big for excel to view.
sed may be old, but it does do the job quickly that very few other tools handle so well.

Leave a comment