From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26534 invoked from network); 25 Sep 2004 02:09:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Sep 2004 02:09:01 -0000 Received: (qmail 22301 invoked from network); 25 Sep 2004 02:08:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Sep 2004 02:08:55 -0000 Received: (qmail 15471 invoked by alias); 25 Sep 2004 02:08:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20410 Received: (qmail 15452 invoked from network); 25 Sep 2004 02:08:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Sep 2004 02:08:50 -0000 Received: (qmail 22023 invoked from network); 25 Sep 2004 02:08:50 -0000 Received: from moonbase.zanshin.com (64.84.47.139) by a.mx.sunsite.dk with SMTP; 25 Sep 2004 02:08:48 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.13.1/8.13.1) with ESMTP id i8P28k5F025933 for ; Fri, 24 Sep 2004 19:08:46 -0700 Date: Fri, 24 Sep 2004 19:08:46 -0700 (PDT) From: Bart Schaefer To: zsh-workers@sunsite.dk Subject: More POSIX developments Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 According to today's minutes of the yesterday's austin-group teleconf: ----- It was agreed so far that test asdf -ge 0 is a syntax error and is expected to return something greater than 1 ----- In zsh's builtin test, of course, "asdf -ge 0" is interpreted in math context, and is equivalent to (( asdf >= 0 )) and thus to "$asdf -ge 0". The (( )) form is still considered OK, but the test -ge form is (or soon will be) required to fail. Yet another case where "emulate posix" might be useful. An idea that occurs to me is that we could introduce hidden options, that is, having no name that could be referenced via "setopt" but that are switched on and off in groups, only via "emulate".