I'm trying to let the user pick the array name because the arrays are sets of domain names.
while getopts h:c: option
do
case "${option}"
in
c) client=${OPTARG};
h) usage;;
esac
done
So like I want client=one of the customer arrays
customer1=(my_custdomain.com, my_custdomain2.com...)
custmoer2=(my1_custdomain.com, my1c_custdomain2.com...)
for i in client
do
func_name
done
by now I'm really confused about expansions/quotes.