#! /bin/bash
# create variable count with its starting values
declare count=0

# show how many command arguments there are
echo Number of arguments: $#

# for each command-line argument, do this
while (( $count <= $# ))
do
# show the arg number and its |value|
   eval "echo arg $count '|'\${$count}'|'"
# count each argument processed
   let "count += 1"
# end loop
done 

echo all arguments evaluated
