sed and awk magic
Submitted by dkblinux98 on March 5, 2009 8:58 amNo Comment
To remove all blank lines from a file…
sed '/^$/d'
Random posts on what’s happening in the world of Linux and Open Source Technology
Linux tips and tricks picked up on the job as a Linux Systems Engineer.
All things wonderful about Apple Computers and Devices
Microsoft System Engineering tips and tricks as told by a Linux Systems Engineer
Get your daily dose of the XKCD cartoon
To remove all blank lines from a file…
sed '/^$/d'