Wednesday, February 8, 2012

Empty line removal

A simple sub-task in sed, handy to keep around in case one does not know sed well:

sed '/^$/d' myFile

That's it! So I learned how to do deletions today :)

No comments:

Post a Comment