You are viewing a single comment's thread. Return to all comments →
you should add that echo statment after i = $((i+2))
No, that won't work!
As mentioned in my previous comment, value of i will be over-written by for loop in the next iteration.
Doing this will print all numbers from 3 to 102 instead. Try it yourself.