Remove blank lines ( new line ) with grep
echo -e "a\n\nb" | grep -v '^ *$'
or
grep -v '^[\s\t]*$' file.txt > new_file.txt
Impact of procedure : Performing the following procedure should not have a negative impact on your system. Open putty by double click...