Removing Blank lines from file using grep Posted on 28-Sep-2005 By Admin No Comments on Removing Blank lines from file using grep grep -v “^$” filename > newfilename Linux/Unix, shell