Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG]builtin echo error doing arguments parsing
- X-seq: zsh-workers 42383
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: [BUG]builtin echo error doing arguments parsing
- Date: Thu, 22 Feb 2018 17:50:48 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- 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==
- In-reply-to: <20180222103201.314c839b@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20180222072350epcas2p3185ca17f5f0e3ad69b0a41dbf743f145@epcas2p3.samsung.com> <CAGobuLee=R-FsgX=8XBg9Q2XHm17yLU6q3QzPWCiryCeTX7Kfg@mail.gmail.com> <20180222093711.0777e602@pwslap01u.europe.root.pri> <20180222103201.314c839b@pwslap01u.europe.root.pri>
On Thu, Feb 22, 2018 at 11:32 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Thu, 22 Feb 2018 09:37:11 +0000
> Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
>> On Wed, 21 Feb 2018 23:23:09 -0800
>> wumingxwk@xxxxxxxxx wrote:
>> > if there is only a '-' as argument,builtin 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).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author