From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21332 invoked by alias); 14 Dec 2016 09:39:34 -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: X-Seq: 40180 Received: (qmail 23602 invoked from network); 14 Dec 2016 09:39:34 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.w1.samsung.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(210.118.77.12):SA:0(-8.1/5.0):. Processed in 1.001122 secs); 14 Dec 2016 09:39:34 -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=-8.1 required=5.0 tests=RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts) X-AuditID: cbfec7f1-f79f46d0000008eb-fd-5851134c377c Date: Wed, 14 Dec 2016 09:39:22 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: PATCH Re: 5.3: printf - Message-id: <20161214093922.40d1eec2@pwslap01u.europe.root.pri> In-reply-to: <161213204815.ZM24665@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsWy7djP87o+woERBrMmi1scbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwS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Li/AdsIP0sAqoSL+8cZgKx2QQMJaZu ms0IYosIiEucXXueBcQWFlCRmLT5GzuIzStgL3Huwm+wGk4BK4n9B/5BrXvLKPHoxFtWkAS/ gL7E1b+fmCAOtJeYeeUMI0SzoMSPyffAhjILaEls3tbECmHLS2xe85YZxBYSUJe4cXc3+wRG 4VlIWmYhaZmFpGUBI/MqRpHU0uLc9NxiI73ixNzi0rx0veT83E2MwDjaduznlh2MXe+CDzEK cDAq8fD+EA6IEGJNLCuuzD3EKMHBrCTCGykQGCHEm5JYWZValB9fVJqTWnyI0RQYMhOZpUST 84ExnlcSb2hiaG5paGRsYWFuZKQkzjv1w5VwIYH0xJLU7NTUgtQimD4mDk6pBsarqy6J7dRO Xn/ZMO9bl87TtlOzTzrdZWla82J++dtf7H+t8veVTZT467Y96/Nk1zg9hR8pV7yadlgtivBd arNx5+qa/NBFZ+czCM3nFReJvLvMv+vV6ybbsBPJL2WXKoR/P7t1B++/nHlX0htMom0XfggS fGpl6txy59KFsEXljVorxGRNWwSUWIozEg21mIuKEwEkLTEXuQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161214093923eucas1p115600668ff09130eae0bf87392c8881c X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?UGV0ZXIgU3RlcGhlbnNvbhtTQ1NDLURhdGEgUGxhbmUb?= =?UTF-8?B?7IK87ISx7KCE7J6QG1ByaW5jaXBhbCBFbmdpbmVlciwgU29mdHdhcmU=?= X-Global-Sender: =?UTF-8?B?UGV0ZXIgU3RlcGhlbnNvbhtTQ1NDLURhdGEgUGxhbmUbU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtQcmluY2lwYWwgRW5naW5lZXIsIFNvZnR3YXJl?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDA1Q0QwNTAwNTg=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161214044835epcas1p363f68aa2155487af59907b878d702464 X-RootMTR: 20161214044835epcas1p363f68aa2155487af59907b878d702464 References: <20161212234102.GB5457@fujitsu.shahaf.local2> <161212202110.ZM19667@torch.brasslantern.com> <161213204815.ZM24665@torch.brasslantern.com> On Tue, 13 Dec 2016 20:48:15 -0800 Bart Schaefer wrote: > Apparently this was introduced in 37467 when I changed "printf" from > having no options at all to having the -v option for print-to-variable. > > There's some documentation saying that ideally we would not create any > new builtins with BINF_SKIPINVALID but I don't see any other way to get > back the old behavior. This was in any case ignoring the vagaries of traditional shell behaviour, which demand inconsistency. Supporting printf -v but treating a - without a following alphanumeric as part of the string, which seem to be the requirements we're faced with, aren't really consistent. So I think anything that works goes here. pws