1. #!/bin/ksh 2. 3. # warm up 4. asplcmd " \ 5. createworkspace DIRECTORY123 POSIX; \ 6. dirvar = ggdir(dir,$1); \ 7. save; \ 8. quit; \ 9. " 10. 11. # loop 7 times with of 2 seconds delay in between 12. for i in {1..7} 13. do 14. sleep 2 15. asplcmd " \ 16. load DIRECTORY123; \ 17. ks mtime chksum ppdd ffl; \ 18. ? dirvar; \ 19. v sorted; \ 20. print ################### DONE LOOP $i ###################; \ 21. " 22. done 23. 24. # delete workspace DIRECTORY123 25. asplcmd " \ 26. wrm DIRECTORY123; \ 27. " 28.