From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16666 invoked from network); 4 Oct 2004 10:50:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Oct 2004 10:50:18 -0000 Received: (qmail 81923 invoked from network); 4 Oct 2004 10:50:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Oct 2004 10:50:12 -0000 Received: (qmail 10636 invoked by alias); 4 Oct 2004 10:49:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20444 Received: (qmail 10621 invoked from network); 4 Oct 2004 10:49:57 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Oct 2004 10:49:57 -0000 Received: (qmail 81526 invoked from network); 4 Oct 2004 10:49:57 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 4 Oct 2004 10:49:42 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-14.tower-36.messagelabs.com!1096886981!9876004 X-StarScan-Version: 5.2.10; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 26306 invoked from network); 4 Oct 2004 10:49:41 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-14.tower-36.messagelabs.com with SMTP; 4 Oct 2004 10:49:41 -0000 Received: from trentino.logica.co.uk ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id i94AnfAI023865 for ; Mon, 4 Oct 2004 11:49:41 +0100 Received: from trentino.logica.co.uk (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 227EEF2B0 for ; Mon, 4 Oct 2004 12:49:21 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <200410041023.i94ANvFc011725@news01.csr.com> From: Oliver Kiddle References: <200409271104.i8RB4URU009112@news01.csr.com> <200410041023.i94ANvFc011725@news01.csr.com> To: zsh-workers@sunsite.dk Subject: Re: More POSIX developments Date: Mon, 04 Oct 2004 12:49:21 +0200 Message-ID: <13642.1096886961@trentino.logica.co.uk> 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 Peter wrote: > Before I commit the patch, here's some proposed documentation. > > item(tt([) [ var(arg) ... ] tt(]))( > Like the system version of tt(test). Added for compatibility; > use conditional expressions instead (see noderef(Conditional Expressions)). > +The main differences are: this command is not handled syntactically, so for > +example an empty variable expansion may cause an argument to be omitted; > +syntax errors cause status 2 to be returned instead of a shell error; and > +arithmetic operators expect integer arguments rather than arithemetic > +expressions. Reading that, it isn't clear whether the differences listed are relative to "the system version of test" or to Conditional Expressions. Oliver