Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strange arithmetic
- X-seq: zsh-users 1164
- From: Christopher Croughton <crough45@xxxxxx>
- To: mito@xxxxxxxxxxx
- Subject: Re: strange arithmetic
- Date: Sat, 29 Nov 1997 12:44:43 +0100
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <19971128140924.07137@retriever> from "Louis-David Mitterrand" at Nov 28, 97 08:09:24 pm
Louis-David Mitterrand wrote:
>
> (using 3.0.5)
>
> % i=0;while [[ $[++i] < 900 ]];do;echo $i;done
> % 1
> % 2
> [...]
> % 90
>
> 90 ?? I asked for 900 and it stops at 90. On the other hand the
> following:
It happens here with 3.1.2 as well. I can't see any logical reason...
Chris C
Messages sorted by:
Reverse Date,
Date,
Thread,
Author