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