Does anyone know if it is possible to remove blank lines from a text file?
I am trying to remove entries from a hosts file and can delete the entry but it leaves a blank line. I would like to remove the blank lines to keep the hosts file tidy - any ideas?


