Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH Re: 5.3: printf -
- X-seq: zsh-workers 40189
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH Re: 5.3: printf -
- Date: Wed, 14 Dec 2016 10:44:50 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=bRojkF87OyS5ufytSlzqhyW/uqXXHmHt6HUPQqAVkE4=; b=sUQElnfVo42ifru+cN+XT9yVQ0LQpQbT4O13xiBbUUp7htcH/6jymNg88bw8jkHE15 BGqBFd7B+xfcRqfx02BvXmqkzDKDvEMhnn+d+WQ/Ebl1klYq7g60G0AkC4NvWNQYYT7j 93tuVj46ylOofGLyCMvDl9OQ+qcMJ6SIna9VS8ZE1gzXfmUMUvCgMMzbgJZd5bXGVzpS PvyVpGtLhERNYfcwKbEUVUNVAlyTqISksnJrVo3zaom0wFSmgFvm9K8xiT9VJmdsZ5z5 TKJj4gGFEYORnG+1sT8+ktmMUk9rB6yJ/vNsEolj4zpLcIFnr+4NNqgfS5enEVDPAtwb pa6w==
- In-reply-to: <20161214165148.GA16528@fujitsu.shahaf.local2>
- 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>
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.
$ printf --
printf: usage: printf [-v var] format [arguments]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author