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 01-26-2008
Franklin52 Franklin52 is offline
Moderator
 

Join Date: Feb 2007
Posts: 2,471
Your printf statement should look like:

Code:
printf '%015d%-200s\n' $recs
Regards
Reply With Quote