I have config file where variables are defined
A=b c d
b=BALL
c=CAT
d=DOG
This is my script:
for word in $A
do
for config in $word
do
echo $config
done
echo "End of nested for loop"
done
Above prints
b
c
d
I need values of b c and d
Ball
CAT
DOG