dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald van Dijk <harald@gigawatt.nl>
To: наб <nabijaczleweli@nabijaczleweli.xyz>, dash@vger.kernel.org
Subject: Re: [PATCH 1/2] man: printf: all Ar arguments are processed identically
Date: Sun, 14 Aug 2022 02:11:55 +0100	[thread overview]
Message-ID: <af8be241-f3cc-4ca9-ee49-e856e658c683@gigawatt.nl> (raw)
In-Reply-To: <ba1440bf05e22d3cae38521a25cb3ca90b30680d.1660436383.git.nabijaczleweli@nabijaczleweli.xyz>

On 14/08/2022 01:19, наб wrote:
> The current wording says that given
>    printf a b c d
> a is the format, c and d are processed as noted,
> but b is unspecified

I think the way "arguments after the first" is intended to be read is 
"arguments after the format string", as the format string is itself an 
argument. But this is not clear at all: "printf format [arguments ...]" 
can be read as saying that the format is not an argument.

Perhaps "arguments after the format string" or "arguments after format" 
would be a better replacement that avoids any ambiguity?

Cheers,
Harald van Dijk

  parent reply	other threads:[~2022-08-14  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14  0:19 [PATCH 1/2] man: printf: all Ar arguments are processed identically наб
2022-08-14  0:20 ` [PATCH 2/2] man: printf: in 'X, X is a byte under dash наб
2022-08-14  1:11 ` Harald van Dijk [this message]
2022-08-14 14:19   ` [PATCH v2 1/2] man: printf: reword to avoid confusion v/v Ar argument[s]/arguments наб
2022-08-14 14:19   ` [PATCH v2 2/2] man: printf: in 'X, X is a byte under dash наб

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=af8be241-f3cc-4ca9-ee49-e856e658c683@gigawatt.nl \
    --to=harald@gigawatt.nl \
    --cc=dash@vger.kernel.org \
    --cc=nabijaczleweli@nabijaczleweli.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).