Remove empty lines from a file using sed
sed '/^$/d' file.txt
Original Article
This entry was posted
on Thursday, February 7th, 2008 at 11:29 pm and is filed under Command Line, Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.