www.tediosity.com
Use the following ‘awk’ command to remove all blank lines from a file:
awk ‘NF > 0’ filename
Related posts: