igor denisov <[email protected]> wrote: > I cannot figure out what is wrong with the following code > > #! /bin/ksh > for (( i=9; i>0; i-- ))
OpenBSD's ksh is based on pdksh, which in turn is patterned on ksh88. The "for ((... ; ... ; ...))" construction was only introduced with ksh93, so our ksh doesn't have it. -- Christian "naddy" Weisgerber [email protected]

