Deleting Blank Lines Using AWK October 23, 2013bashawk, blank linesadmin Here’s the trick: bash | copy code |?1cat /tmp/test | awk 'NF > 0' > /tmp/test1