Casper.Dik at Sun.COM wrote: > I just noticed this in ksh93: > > ksh93 -c 'yes "" | head -5|cat -n' > > 1 > 2 > > 3 > > 4
Can you please file a bug in bugster to track the issue there (I'll make a new test suite module for it, basically based on $ diff -u <(ksh93 -c 'integer i ; for ((i=1 ; i <= 5 ; i++ )) ; do printf "%6d\t\n" i ; done') <(ksh93 -c 'integer i ; for ((i=1 ; i <= 5 ; i++ )) ; do print ; done | cat -n') #) > (I used this for older shells when I want to a list of all integers from 1 > to a particular number) Slightly offtopic: ksh93 supports the $ for (( expr1 ; expr2 ; expr3 )) ; do ... done # syntax which works similar as the |for(expr1 ; expr2 ; expr3)|-loops in ISO C99 ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)