The for loop is used when the number of repetitions is known at the very beginning of the loop. If that number isn't known, you will want to use a while or until loop, which will repeat until a condition is met.
In reply to Re^3: check for latest file, remove and touch file?
by GotToBTru
in thread check for latest file, remove and touch file?
by fasoli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |