#!/bin/bash

# quick demo of command-line arguments in bash

echo "the name of this script is: <$0>"
echo "-------------------------------"
echo "<$0> was just called with <$#> arguments"
echo "-------------------------------"
echo "...and those arguments are: "
for arg in $@
do
    echo "<$arg>"
done

echo "...are these also the arguments?"
for item in $*
do
    echo "<$item>"
done