Posted on May 24, 2008 by nicolasremove empty line from file using AWK cat /tmp/fichier_A | awk ‘NF > 0’ > /tmp/fichier_B