The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-15-2008
aju_kup aju_kup is offline
Registered User
 

Join Date: Jul 2006
Posts: 189
just to ignore empty lines

Code:
grep -v "^$" <filename>
Reply With Quote