Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

arithmetic for: bug in 3.0.5



The arithmetic for command seems to be broken in 3.0.5-test2:

   integer i

   for (( i=1; i <= 10; i+=1 ))
   do 
     print $i
   done

This gives:

   t: parse error near `(( i=1' [4]
   t: parse error near `do' [5]
   0
   t: parse error near `done' [7]

--
Bernd Eggink
Regionales Rechenzentrum der Uni Hamburg
eggink@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.rrz.uni-hamburg.de/eggink/BEggink.html



Messages sorted by: Reverse Date, Date, Thread, Author