public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Florian Weimer <fweimer@redhat.com>, linux-man@vger.kernel.org
Cc: mtk.manpages@gmail.com
Subject: Re: [PATCH] locale.5: Decimal points, thousands separators must be one character
Date: Sat, 10 Oct 2020 11:08:27 +0200	[thread overview]
Message-ID: <96c8e122-cdfd-3849-1ad8-0f8b70b23988@gmail.com> (raw)
In-Reply-To: <87zh4vdc7d.fsf@oldenburg2.str.redhat.com>

On 10/9/20 10:40 AM, Florian Weimer wrote:
> This is implied by POSIX because it requires that these strings in the
> locale definition file contain one symbol.  Currently, locale.5 does
> not document the concept of symbols, this change glosses over that and
> just uses the term "single-character string".
> 
> Signed-off-by: Florian Weimer <fweimer@redhat.com>

Thanks, Florian. Patch applied.

Cheers,

Michael

> ---
>  man5/locale.5 | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/man5/locale.5 b/man5/locale.5
> index f6b63da9d..9789e0bb0 100644
> --- a/man5/locale.5
> +++ b/man5/locale.5
> @@ -693,12 +693,12 @@ separator.
>  followed by the local currency symbol.
>  .TP
>  .I mon_decimal_point
> -followed by the string that will be used as the decimal delimiter
> -when formatting monetary quantities.
> +followed by the single-character string that will be used as the
> +decimal delimiter when formatting monetary quantities.
>  .TP
>  .I mon_thousands_sep
> -followed by the string that will be used as a group separator
> -when formatting monetary quantities.
> +followed by the single-character string that will be used as a group
> +separator when formatting monetary quantities.
>  .TP
>  .I mon_grouping
>  followed by a sequence of integers separated by semicolons that
> @@ -962,12 +962,12 @@ in the first column.
>  The following keywords are allowed:
>  .TP
>  .I decimal_point
> -followed by the string that will be used as the decimal delimiter
> -when formatting numeric quantities.
> +followed by the single-character string that will be used as the
> +decimal delimiter when formatting numeric quantities.
>  .TP
>  .I thousands_sep
> -followed by the string that will be used as a group separator
> -when formatting numeric quantities.
> +followed by the single-character string that will be used as a group
> +separator when formatting numeric quantities.
>  .TP
>  .I grouping
>  followed by a sequence of integers separated by semicolons
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

      reply	other threads:[~2020-10-10 23:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09  8:40 [PATCH] locale.5: Decimal points, thousands separators must be one character Florian Weimer
2020-10-10  9:08 ` Michael Kerrisk (man-pages) [this message]

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=96c8e122-cdfd-3849-1ad8-0f8b70b23988@gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=linux-man@vger.kernel.org \
    /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