Miscellaneous Ramblings on Hacking

July 3, 2009

I Heart Unix

Filed under: Uncategorized — Zack @ 7:35 pm

Use SED to get rid of those nasty empty lines in a text file:

sed '/^$/ d' someFile > someNewFile
mv someNewFile someFile

Blog at WordPress.com.