I have two variables
jbc3=8
i=3
i now have the following loop
for i in 3
do
echo $jbc$i
done
What i actually want to print is the value 8.
i.e. substutute the $i for 3 , then evaluate $jbc3.
Is there some way to combine these two substitutions.
Thanks in advance.
--
Paul Porcelli
Dept of Aerospace Engineering
University of Glasgow