OK well in my first loop I am stepping through integers
1 through 11
Code:
for i in `seq 1 11`
do
Then, rather then generating title with
${i}_title=some_string
(which cannot later be referenced as a variable, so it's useless to me) I generate an array "title"
Code:
title[$i]=some_string
In my second loop I am stepping through members of a different array, which I also made to be integers (not necessarily consecutive).
Code:
for i in ${some_other_array[@]}
do
This is convinient b/c now I can reference "title" array inside of this for loop: