Iterate over arguments in bash

Here is how you iterate over the list of command line arguments (ARGV) in bash

for var in "$@"
do
    echo "$var"
done


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 18.188.61.223
To prevent spam please submit by clicking the kitten: