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: 3.239.95.36
To prevent spam please submit by clicking the kitten: