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 -->
  #5 (permalink)  
Old 09-06-2007
manas_ranjan's Avatar
manas_ranjan manas_ranjan is offline
Registered User
 

Join Date: Jul 2007
Location: PUNE
Posts: 171
Hey please try this one,

awk ' { printf ("%d\n", $0-1) } ' <<File Name>>
Reply With Quote