How to remove empty or blank lines with awk.
Example 1:
command | awk '/^s*$/'
Example 2:
awk '/^s*$/' filename