From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14280 invoked by alias); 14 Dec 2016 18:44: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: 40189 Received: (qmail 15400 invoked from network); 14 Dec 2016 18:44:34 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f50.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.213.50):SA:0(-0.0/5.0):. Processed in 3.375743 secs); 14 Dec 2016 18:44: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=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.50 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=bRojkF87OyS5ufytSlzqhyW/uqXXHmHt6HUPQqAVkE4=; b=hLhN65vXG1I4xX8HU5ph68OtMMW2aNq1mUkeKmVDPHOmr5ylm1En3oqPZ7fGjR4oJ0 SDKLdfzXlz3ziTxGuJ6nIucBl1+yFlHTNoHATqfkKfoBHMjDQwmzxPzM2HP8jkn8iFfj ivWgJbYarqlnYgCYOera4Z2Z0Jm2+Aduxgpx0BXYn32NMooYtkvR7YlndofZF+9/WSkJ /zwlF1hEDoWQh8jMhZs6iSxi2d9tzWumTLEFwqBdEWB4iiHetb3acairDyL4QTX7eb8a hYN9xFt2CZAatP4hbvpT1v828XcEgPVlio7LCpbkXzTS4iOMLFAends8qpulsxLn4zuR xy2w== X-Gm-Message-State: AKaTC02Dngm9wpDSxBSbzmrZfk9mOodKqeq2PjSRbhYOFFNocBK9AlGg3wdyLyZu4qdTHQ== X-Received: by 10.31.191.194 with SMTP id p185mr24426489vkf.98.1481741063314; Wed, 14 Dec 2016 10:44:23 -0800 (PST) From: Bart Schaefer Message-Id: <161214104450.ZM27360@torch.brasslantern.com> Date: Wed, 14 Dec 2016 10:44:50 -0800 In-Reply-To: <20161214165148.GA16528@fujitsu.shahaf.local2> Comments: In reply to Daniel Shahaf "Re: PATCH Re: 5.3: printf -" (Dec 14, 4:51pm) References: <20161212234102.GB5457@fujitsu.shahaf.local2> <161212202110.ZM19667@torch.brasslantern.com> <161213204815.ZM24665@torch.brasslantern.com> <20161214093922.40d1eec2@pwslap01u.europe.root.pri> <20161214165148.GA16528@fujitsu.shahaf.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: PATCH Re: 5.3: printf - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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]