awk NF file.txt
awk '/./' file.txt
Assuming a file, file.txt, exists with the following contents:
aaaaa bbbbb ccccc ddddd eeeee
returns: