KSH For Loop Examples - nixCraft — Linux Tips, Hacks, Tutorials, And Ideas In Blog
I don’t understand why you say that does not work : #!/bin/ksh # Nettoyage du contenu du fichier et suppression des derniers PDFs cree >listePdfs.txt cd /opt/filenet/temp_batch/800000PDFs rm -rf *.pdf for i in {1..1000} do echo “$i” cp 0.src $i.pdf echo “...