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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-09-2008
danmero danmero is offline Forum Advisor  
  
 

Join Date: Nov 2007
Location: 45.48-73.63
Posts: 1,447
Quote:
Originally Posted by deepakgang View Post
Please could you tell me what the first line of the code does

awk '!/^$/{

Cant I use the code without the !/^$/ part ?
awk '!/^$/ will ignore empty lines.

ghostdog74 Uwin

Last edited by danmero; 04-09-2008 at 02:10 AM..