From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24363 invoked by alias); 24 Feb 2018 10:02:15 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42397 Received: (qmail 27031 invoked by uid 1010); 24 Feb 2018 10:02:15 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-4.server.virginmedia.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.0.253.68):SA:0(-1.9/5.0):. Processed in 2.182462 secs); 24 Feb 2018 10:02:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Originating-IP: [86.21.219.59] X-Authenticated-User: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.3 cv=BpyzP7f5 c=1 sm=1 tr=0 a=utowdAHh8RITBM/6U1BPxA==:117 a=utowdAHh8RITBM/6U1BPxA==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=pGLkceISAAAA:8 a=4r-ucsO6ZmVS5v534RIA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1519465914; bh=MO9XxNuVU75A7/SmzknXnGR4zSAdcV6VyRsnW3o+g/Y=; h=Date:In-Reply-To:References:Subject:To:From; b=ubQ7buA9O0Sq26gj1SHsQh5KrbwIR598TyYrVxFL3pszxGPEQZ7imlAfxffCc+/Rm F6QkOLiKABsvbWtFuv+nfPpfZFnI0v4wJMXAto55frhoetPP8zgmuLIua5ECoxT2mP eLL4FDCO2jczn1L+N0Bu+yhZyPq5/mOSlNXHfKiKZJ/24iKhF2KR5qMsHk9715ObWr 4JlBqIa9OkmNQhVTYecLDgxhieHeb87lZh4bNvge/isJ6Yd6hLTntowPtufvnU5I3Y GX/DDrVr15LBC8ymtTUjWAx/cPG4/42f/eBCfNuxSRsbyx9hPBGwhb1OTvxsh8GkXO Bzay3IzYjwpug== Date: Sat, 24 Feb 2018 09:51:51 +0000 User-Agent: K-9 Mail for Android In-Reply-To: <20180224082040.GA5121@chaz.gmail.com> References: <20180222093711.0777e602@pwslap01u.europe.root.pri> <20180222103201.314c839b@pwslap01u.europe.root.pri> <20180222172601.2b7cb68b@pwslap01u.europe.root.pri> <20180222193423.16d0bf46@ntlworld.com> <20180224082040.GA5121@chaz.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [BUG]builtin echo error doing arguments parsing To: zsh-workers@zsh.org From: Peter Stephenson Message-ID: <7D6C22CC-926D-4AD3-ACF9-3F5E55F7380F@ntlworld.com> X-CMAE-Envelope: MS4wfJcMkN4llxndHyqGX1rh1NV6sut7PmLp7aJfCqBk1esUiu/gHqI3f3ZE15poR+Iqw/y/F99sC4acSYkWCtnwZ82flSKAhNOIgrLgKU/hMFIcDh4xSdPy 1exHUTehVExDPvXKT5gbUrD4ubjKgBYXwll95NSWlzCDTCmhqH6EcFrJfOlxrtkilWR9x878DwGRtQ== On 24 February 2018 08:20:40 GMT+00:00, Stephane Chazelas wrote: >2018-02-22 19:34:23 +0000, Peter Stephenson: >> On Thu, 22 Feb 2018 20:00:58 +0100 >> Mikael Magnusson wrote: >> > I didn't try the patch but currently echo >> > -- just outputs --, only - terminates options for echo=2E >>=20 >> Yes, the -- behaviour appears to be general behaviour, in fact, >> so not something that should be changed=2E So indeed it's hard to >> do this at the moment in a shell script without some kind of kludge >> for zsh=2E "disable echo" and use /bin/echo might be the best bet=2E >>=20 >> However, I'm not really sure if that makes it less or actually more >> useful to align with other shells (with POSIXBUILTINS) from now on=2E= =2E=2E >> it's not obvious perpetuating the need for a kludge for ever more >> is the best bet=2E >[=2E=2E=2E] > >IMO, the best thing to do here is to do nothing=2E Leave it as it >is=2E OK, this all sounds rational=2E Perhaps the difference could be flagged up better in the do=2E Thanks pws