FICH10=primero.sh
FICH20=segundo.sh
for i in 10 20
do
echo $FICH($i) # I want resolved first $i and then resolver var FICH10
done
I want it to first solve $i and concatenate it to the FICH shoreline and thus return the value of $FICH10 or $FICH20 but without having to put the numbers, but they are resolved by the loop
I don't solved with the response asocciate
$ for i in 10 20
> do
> echo $((FICH$i))
> done
ksh: line 3: primero: parameter not set
bash, but this question is tagged askshand they do not work here