From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5382 invoked from network); 2 May 2001 22:28:27 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 May 2001 22:28:27 -0000 Received: (qmail 26848 invoked by alias); 2 May 2001 22:28:15 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3849 Received: (qmail 26799 invoked from network); 2 May 2001 22:27:55 -0000 From: Bruce Stephens To: zsh-users@sunsite.dk Subject: Re: do I win the "most pointless use of ZSH" award? ;) References: <20010427213108.A28356@idiocy.org> <20010430124125.A2527@pianosa.catch22.org> <20010430210517.A4840@idiocy.org> <010430151553.ZM9588@candle.brasslantern.com> In-Reply-To: <010430151553.ZM9588@candle.brasslantern.com> ("Bart Schaefer"'s message of "Mon, 30 Apr 2001 15:15:53 -0700") Message-ID: <87u2339yla.fsf@cenderis.demon.co.uk> User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.5 (alfalfa) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: 02 May 2001 23:26:57 +0100 "Bart Schaefer" writes: [...] > > for (( p=0.0, q=0.0, i=0 ; p*p+q*q < 4 && i < 32 ; i++));do I couldn't get this to work for a while. It turned out one of my initialization scripts was setting i to an absolute pathname: zsh% i=/foo; for ((i=0; i<10; i++)) echo $i zsh: bad math expression: operand expected at `/foo' Is this a bug or a feature that I'm entirely missing? [...]