Here is nice awk one liner to remove blank lines from a file, just replace FILENAME with the file you want the blank lines removed from:
Here is a sed one liner to remove blank lines from a file, just replace FILENAME with the file you want the blank lines removed from:
awk '/./' FILENAME
Here is a sed one liner to remove blank lines from a file, just replace FILENAME with the file you want the blank lines removed from:
sed -i -e 's/^$/g' FILENAME