From: Florian Weimer <fweimer@redhat.com>
To: linux-man@vger.kernel.org
Subject: [PATCH] locale.5: Decimal points, thousands separators must be one character
Date: Fri, 09 Oct 2020 10:40:22 +0200 [thread overview]
Message-ID: <87zh4vdc7d.fsf@oldenburg2.str.redhat.com> (raw)
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>
---
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
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
next reply other threads:[~2020-10-09 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 8:40 Florian Weimer [this message]
2020-10-10 9:08 ` [PATCH] locale.5: Decimal points, thousands separators must be one character Michael Kerrisk (man-pages)
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=87zh4vdc7d.fsf@oldenburg2.str.redhat.com \
--to=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