I am trying to increment a filename in a script example name is 000001.txtand I need to keep the leading 0's. I have no problem if the name was 1.txt, 2.txt etc...
var=`expr $var + 1`
however how do I keep the leading 0's? Thanks, Jerry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos