Alan Coopersmith wrote: > > Another bug that will be fixed by moving to ksh93? > > -alan- > > -------- Original Message -------- > Subject: CR 6562687 *HOT* Created P1 opensolaris/triage-queue ksh return > a syntax error for Linux script with for() loop > Date: Mon, 28 May 2007 07:03:44 -0600 (MDT) [snip] > /bin/ksh returns a syntax error for a shell script which contains a > for() loop like for((count=0;count<10;count++)). [snip]
Yes... AFAIK the |for((...;...;...))|-loops were new in ksh93 and later cloned by bash&co. ... ... can anyone with bugster access add the keyword "ksh93", please ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
