2
for ((a=1,b=1;a<10;a++,b++))
do
   ...
done
-----------