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 05-29-2007
panknil panknil is offline
Registered User
  
 

Join Date: Apr 2007
Location: Kolkata
Posts: 84
Thumbs down How to trim the leading zeroes in a Currency field ?

Dear ghostdog74,

can you please explain the function of
~ and sub(/^\+0+/,"",$4) in your code?

Thanks in advance
Regards,
Pankaj