So, I'd like to do something like the following:
while [ $n -le 7 ]
do
char$1=somevalue
echo $char$1
n++
done
But even reading through the links below and trying declare or something like $char${!n}, I haven't been able to make it work... Halp! :)
I've already looked at: How to use a variable's value as another variable's name in bash and Dynamic variable names in Bash
Thanks!