advanced code snippet search
ches on 12/12/07
strip text awk
02/15/08 02:07pm12/12/07 12:38pm
Create a copy of a text file with blank lines removed.
cat /tmp/test | awk 'NF > 0' > /tmp/test1
Report this snippet
Actually, maybe awk 'NF > 0' works and is simpler.
awk 'NF > 0'
You need to login to post a comment.