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

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

Windows 2003 W2k3 Getting Current MTU Size

SAP Fiori Launchpad Activation via Task List (STC01)