[ t h e f r a g g l e . c o m ]

technology, photography and anything else that springs to mind.

removing blank newlines using sed.

Most people won’t find this paticularly useful, but as I’m prone to forget things:

sed -e '/^$/d'

will delete blank newlines from whatever it’s input is.

Tags: , ,
, ,
February 17, 2008 at 9:47 pm Comments (2)