From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 565 invoked from network); 11 Sep 2000 01:01:03 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?zQ6FsQtthWt6mw9nn9Zdgbx8uFmgFIsl?@203.24.36.3) by ns1.primenet.com.au with SMTP; 11 Sep 2000 01:01:03 -0000 Received: (qmail 11301 invoked from network); 11 Sep 2000 00:54:16 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns2.primenet.com.au with SMTP; 11 Sep 2000 00:54:16 -0000 Received: (qmail 15489 invoked by alias); 11 Sep 2000 00:53:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12791 Received: (qmail 15482 invoked from network); 11 Sep 2000 00:53:35 -0000 From: "Bart Schaefer" Message-Id: <1000911005326.ZM4832@candle.brasslantern.com> Date: Mon, 11 Sep 2000 00:53:25 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Is this a bug or a thinko? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've just been noticing several places where the completion system does comparisons like [[ CURRENT -eq 1 ]] In my patched version of 3.1.9-dev-6, CURRENT in this context is NOT being interpreted as a math expression. That is, one must do [[ $CURRENT -eq 1 ]] to get the correct result. Is failure to use math context in this situation a recently-introduced bug? Or have the completion functions been wrong all along? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net