From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8084 invoked from network); 17 May 2005 01:19:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 May 2005 01:19:44 -0000 Received: (qmail 97558 invoked from network); 17 May 2005 01:19:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 May 2005 01:19:37 -0000 Received: (qmail 4220 invoked by alias); 17 May 2005 01:19:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8837 Received: (qmail 4205 invoked from network); 17 May 2005 01:19:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 May 2005 01:19:28 -0000 Received: (qmail 96371 invoked from network); 17 May 2005 01:19:28 -0000 Received: from wproxy.gmail.com (64.233.184.194) by a.mx.sunsite.dk with SMTP; 17 May 2005 01:19:23 -0000 Received: by wproxy.gmail.com with SMTP id 69so1786210wra for ; Mon, 16 May 2005 18:19:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QmML89MJRCYezy3qFLLdYmvQAKyfycXfCbFrWv3oop97+XtwTl/9GecAeYcM9CucQGnW40K5FfUhC0FtuYj/2N//q1AAH1gj45zi1+807pn5xwnb0xs/+nIV5gQfhpX/s1mQTlTeU+r/VC0xplFFcqS/dqpp8WiwVfiGn2S6npI= Received: by 10.54.51.45 with SMTP id y45mr4005365wry; Mon, 16 May 2005 18:19:22 -0700 (PDT) Received: by 10.54.67.2 with HTTP; Mon, 16 May 2005 18:19:22 -0700 (PDT) Message-ID: <3060c239050516181964683a55@mail.gmail.com> Date: Mon, 16 May 2005 21:19:22 -0400 From: Mike Hernandez Reply-To: Mike Hernandez To: Dan Nelson , zsh-users@sunsite.dk Subject: Re: Airthmetic confusion... In-Reply-To: <20050516214611.GA90284@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050516.195529.74749456.Meino.Cramer@gmx.de> <20050516224332.246839a4@localhost> <3060c239050516135933fd2ff6@mail.gmail.com> <20050516214611.GA90284@dan.emsphone.com> X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 On 5/16/05, Dan Nelson wrote: > That's because within an arithmentic context, 0 is false and 1 is true, Ok so you're saying that since 0 is false in the arithmetic context, it gets translated by the shell to be 1, because 1 is false in the shell context? That makes sense... but it does make things very confusing ;) True translates to true, and false translates to false, which is totally sound and logical... but the fact that 1 is true in one context and false in another makes it seem that true is translated into false *sigh*. I had to read this email 10 times before I sent it to make sure I even typed what I meant ;) Mike