When processing text in unix pipelines, you sometimes want to take lines that consist entirely of whitespace characters and trim them. Sometimes you want to delete them and their 0 length bretheren. Just add this into your pipeline and it’ll take care of that for you.
USAGE: no direct invocation. just pipe files into this.
-d delete blank lines
Ex.: cat foo.txt | blankless
cat foo.txt | blankless -d
Metadata:
Tags: