Grep - Remove blank lines

Remove blank lines from a file using grep and save output to new file:

grep . old.filename.txt > new.filename.txt