I'm not sure how to use a nested for loopsloop in bash. How do I turn the followingbelow code into a nested for loop?
~/
❯ cat sequential.sh
a=(1 2)
b=(3 4)
c=(5 6)
for e in "${a[@]}"
do
echo $e
done
for e in "${b[@]}"
do
echo $e
done
for e in "${c[@]}"
do
echo $e
done
✦ ~/
❯ bash sequential.sh
1
2
3
4
5
6