From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21805 invoked by alias); 7 Mar 2012 18:46:24 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16868 Received: (qmail 6165 invoked from network); 7 Mar 2012 18:46:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at internecto.net designates 176.9.245.29 as permitted sender) X-Virus-Scanned: Debian amavisd-new at mx1.internecto.net Date: Wed, 7 Mar 2012 18:38:25 +0000 From: Mark To: zsh-users@zsh.org Subject: Re: [[ and [ In-Reply-To: <20120307141121.GA11001@fermat.math.technion.ac.il> References: <4F52D510.6000002@sergio.spb.ru> <120303202448.ZM21278@torch.brasslantern.com> <4F555B0B.1050401@sergio.spb.ru> <120305220555.ZM27709@torch.brasslantern.com> <4F55EF85.3050809@sergio.spb.ru> <20120306113532.789859ca@pwslap01u.europe.root.pri> <20120306114404.359e1c9d@pwslap01u.europe.root.pri> <20120307085236.GC15125@fermat.math.technion.ac.il> <20120307094347.608739c3@pwslap01u.europe.root.pri> <20120307141121.GA11001@fermat.math.technion.ac.il> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20120307184017.3B41E38072D@mx1.internecto.net> > But people who read the manual can be told that there is a > newer alternative, namely ((. They should also be very aware that (( 0 )) returns false and (( "not 0" )) returns true. Try it: (( 0 )) && echo foobar