Set new variable with name of string from existing variable
bash
Solution
Use `declare`.
for a in apple orange grape; do
declare "$a=blah"
done
Problem
I am trying to do something like below: ``` for a in apple orange grape; do ${!a}="blah" done echo $apple blah ``` Possible?