The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: awk help needed
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-18-2008
ddurden7 ddurden7 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Thank You. Both lines work, but
what is the purpose of the "-1l " options on the tail, in this command?:

TEST=$(head -2 BATCH007.TXT | tail -1l | awk '{FS=","} {print $2}')