Solved for loop in sh

Apparently this construct is only doable in bash, not sh

sh:
for ((i=0;i<5;i++))

What is bourne equivalent of this?

Apologies for this newbie type question, but my brain isn't working today
 
What is this jot ?
Code:
DESCRIPTION
       The jot utility is used to print	out increasing,	decreasing, random, or
       redundant data, usually numbers,	one per	line.
jot(1)

There's also a seq(1) command:
Code:
DESCRIPTION
     The seq utility prints a sequence of numbers, one per line (default),
     from first (default 1), to near last as possible, in increments of incr
     (default 1).  When first is larger than last, the default incr is -1.
 
Back
Top