[Ilugc] Removing Blank lines and same file has to be affected

  • From: anjeas_net@xxxxxxxxx (Ashok Antony)
  • Date: Wed Aug 16 15:37:19 2006

Hi all

sed '/^$/d' file1.txt

removes the blank lines and file1.txt has to be affected by this command.

I mean the file1.txt should contain non-empty lines.

anthony

                
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2?/min or less.

Other related posts: