Iterate over arguments in bash 2012-01-07 10:36am
Here is how you iterate over the list of command line arguments (ARGV) in bash
for var in "$@"
do
echo "$var"
done
Here is how you iterate over the list of command line arguments (ARGV) in bash
for var in "$@"
do
echo "$var"
done