How to kill blank lines elegantly

Posted by eldersnake on Mar 16, 2014 2:29 PM
By The Linux Rain
Mail this story
Web version

If you do a Web search for 'linux delete blank lines' you'll find lots of command-line advice. Some of the advice, though, only applies to special cases. Here I explain two elegant and general methods for finding and deleting any blank lines in a text file.

Full Story

Printed at http://lxer.com/module/newswire/view/199818/index.html