 |
The classic for-loop [Bash Hackers Wiki]
For every word in , one iteration of the loop is performed and the variable is set to the current word. If no "in " is present to give an own word-list, then the positional parameters ("$@") are used (the arguments to the script or function).
wiki.bash-hackers.org |
 |