Using sed to remove empty lines


sed '/^$/d' myFile > tt 
mv tt myFile


ref: http://soft.zoneo.net/Linux/remove_empty_lines.php


//alak

Comments

Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread