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 -->
  #6 (permalink)  
Old 05-29-2007
steiner steiner is offline
Registered User
  
 

Join Date: Jul 2003
Location: Hambach - France
Posts: 29
Automatic increasing file

Hello ,

thanks for your quick answer.

Just a question : the little below is in C coding , isn't it ?

new_filename=$(printf "%s.%s.%05.5d" "$filename" "$datestamp" "$number")

The same line in shell script can be better because i'm not a C developper.

Ok thanks a lot bye.