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: geek, Linux, stuffFebruary 17, 2008 at 9:47 pm Comments (2)