Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH Re: 5.3: printf -
- X-seq: zsh-workers 40193
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH Re: 5.3: printf -
- Date: Thu, 15 Dec 2016 00:50:17 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=e3ceyJGtgpZBsUW 83iJY3xkj1SU=; b=M4GYWqu2SB2ePJblCmvvcMP+AhUZq305SGr7+mQc6SH9rvh NOfBEAHKZvkugd3DrAwJ5WuW7snypen9Y5TnCjYvdmvfFCr+9M1TAcjFOgXIX4MA cA9V0+i6kjuMJH3b7dX4iiZvOSkqCH5Qkwr1OtH6yGS/9LNORe5IjAwMq5gw=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=e3ceyJGtgpZBsU W83iJY3xkj1SU=; b=D8BgI5xzRZ3LyGfVCMqIZ37i4KPoEgns4dqr9ChwtHZx4z PDqUt1UymE8O2AZqkbReeUzBbPpbfLQIat1Xz1g+THqvS4Y/4IaQAt0+mZ15jGk3 YezGSYqmAi+e6aK7IzUvk8flwMcrkP9oITMwo34YzdWImGq6Nev6rMCM56b40=
- In-reply-to: <161214104450.ZM27360@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20161212234102.GB5457@fujitsu.shahaf.local2> <161212202110.ZM19667@torch.brasslantern.com> <CGME20161214044835epcas1p363f68aa2155487af59907b878d702464@epcas1p3.samsung.com> <161213204815.ZM24665@torch.brasslantern.com> <20161214093922.40d1eec2@pwslap01u.europe.root.pri> <20161214165148.GA16528@fujitsu.shahaf.local2> <161214104450.ZM27360@torch.brasslantern.com>
Bart Schaefer wrote on Wed, Dec 14, 2016 at 10:44:50 -0800:
> On Dec 14, 4:51pm, Daniel Shahaf wrote:
> }
> } The grandparent patch fixes all the cases given so far in this thread,
> } except that "printf --" and "printf -- -" yield an error and "-",
> } respectively - whereas in sh mode they should both print "--".
>
> Bash prints an error and "-" respectively in those two cases as well,
> so I think it's unclear what should happen for that in sh mode.
I was aiming for POSIX-compliance, not bash-compliance, for sh mode.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author