From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14266 invoked by alias); 22 Feb 2018 16:50:53 -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: 42383 Received: (qmail 21745 invoked by uid 1010); 22 Feb 2018 16:50:53 -0000 X-Qmail-Scanner-Diagnostics: from mail-qt0-f171.google.com 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(209.85.216.171):SA:0(-1.9/5.0):. Processed in 1.287422 secs); 22 Feb 2018 16:50:53 -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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: mikachu@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=w36Rt57jvvUwP+LkZfjPFUvJ3ZrW5mQPUZtBwLmUKgI=; b=oAe2xVniHe1m2x5lDU0tCRFWjqLuxrCRtm1gMqXxLz88duVNrqn/XqWh2Ga6nt/vZp BrA0Nm2TWCIoXOepeE+f0SLMit6tb9/1BUNhD2lT7vI8O+1EqQT4up6Z93lVgSnBcEu4 o9jIsT913PCNiPYpdlApUBuqI6kW8Yi1syu3LjBYFqQ+0ofL6t7KTGqh17ZB7eQt4HP0 hWQmXzG4HL22LcUf88ro2JGYp/boxFEEhBzlr/3NXxrzlK5Foc2uVU9ULWRPNg9G4l8p 2CgnzWBg+lElG23+zr492RJxPHNl8qCBkOXOyugsZGrHacsuhWZj50mQYcTua21LB6Mi 1ErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=w36Rt57jvvUwP+LkZfjPFUvJ3ZrW5mQPUZtBwLmUKgI=; b=cWODfyF6ZMiiidfu0pzeIJxq5yi2lvIgXRj751h3WVm9gyh0HVsJBIYEFfBMayEBX7 yy58Hg9A+YujzadNgcypB8uSX/DWPfy0xV+oyTwN3lkoOE5Q7FRXb0GooMTRcm+lGcBf cEkY1mfVbkKAYLEqA0CxXnpakSjIo0M8FmQypPi7jkQYfWfiYt7Cmv6mEpii+0tGTWZB fNXvBPA+v56PZm84KFRlBapUpCL9aTWLJols1KZXtyDOYjPyhjlNLqH0PsoQVufO1kUi UNhGRK2l9cPIl9rcVi3qJVIlqTSZqTx0e1T7G8Rb0Avsxv2eJ8/MGH1hShGMtduTEMIW syeg== X-Gm-Message-State: APf1xPCBjqP1Wx6IDWbg2zW/HUaJwmHMgYjbpD/tsTFijBHC0oQnpaZ/ y0nuFELkwelbHt5TCJqLEmi4Hlgqg0iyQzmP+ys= X-Google-Smtp-Source: AH8x226eBH32MGTECUbAUC5dOsyA9OxXvE20CebZyuuKbH7J9Bl3Jx0tlxCzs22S7V4g4FxAF9PcC13N48HpwhQSNJI= X-Received: by 10.237.53.98 with SMTP id b31mr12413513qte.230.1519318248920; Thu, 22 Feb 2018 08:50:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180222103201.314c839b@pwslap01u.europe.root.pri> References: <20180222093711.0777e602@pwslap01u.europe.root.pri> <20180222103201.314c839b@pwslap01u.europe.root.pri> From: Mikael Magnusson Date: Thu, 22 Feb 2018 17:50:48 +0100 Message-ID: Subject: Re: [BUG]builtin echo error doing arguments parsing To: Peter Stephenson Cc: zsh workers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 22, 2018 at 11:32 AM, Peter Stephenson wrote: > On Thu, 22 Feb 2018 09:37:11 +0000 > Peter Stephenson wrote: >> On Wed, 21 Feb 2018 23:23:09 -0800 >> wumingxwk@gmail.com wrote: >> > if there is only a '-' as argument=EF=BC=8Cbuiltin echo won't print it >> >> You might have thought it should at least be turned off in some or most >> of the emulation modes... > > Would look something like this. Probably a good idea if there aren't > subtleties? If we change it now, people would have to add a version check in addition to their check for zsh to be able to echo things portably (to know if they should add an extra - or not). --=20 Mikael Magnusson