Posted by: tahir
Removing a blank line from a text file - 29/04/2005 15:54
How do I do this? It's on Linux, a friend suggested:
cat file | sed “/^.$/d” > newfile
but I've still got a LF at the end of the file (I think).
cat file | sed “/^.$/d” > newfile
but I've still got a LF at the end of the file (I think).