* arithmetic for: bug in 3.0.5
@ 1997-09-24 14:17 Bernd Eggink
1997-09-24 16:17 ` Geoff Wing
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Eggink @ 1997-09-24 14:17 UTC (permalink / raw)
To: zsh-workers mailing list
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@rzaix13.rrz.uni-hamburg.de
http://www.rrz.uni-hamburg.de/eggink/BEggink.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: arithmetic for: bug in 3.0.5
1997-09-24 14:17 arithmetic for: bug in 3.0.5 Bernd Eggink
@ 1997-09-24 16:17 ` Geoff Wing
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Wing @ 1997-09-24 16:17 UTC (permalink / raw)
To: zsh-workers
Bernd Eggink <eggink@rrz.uni-hamburg.de> typed:
: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:
That's implemented in 3.1.2 not 3.0.* , and the manuals of each reflect this.
ie. it's listed in 3.1.2 manuals but not in 3.0.* manuals
It may be in 3.1.1 but out of the 29 versions of zsh I've got in my bin dir
it seems to be missing so I can't really tell you at the moment, sorry.
--
Geoff Wing [mason@primenet.com.au] Phone : +61-3-9818 2977
Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9768 2909
Web: <URL:http://www.primenet.com.au/> Mobile : 0412 162 441
[ Boulderdash: <URL:http://ciips.ee.uwa.edu.au/~williams/bd/> ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-24 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-24 14:17 arithmetic for: bug in 3.0.5 Bernd Eggink
1997-09-24 16:17 ` Geoff Wing
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).