]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
locale.5: Decimal points, thousands separators must be one character
authorFlorian Weimer <fweimer@redhat.com>
Fri, 9 Oct 2020 08:40:22 +0000 (10:40 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 10 Oct 2020 09:07:24 +0000 (11:07 +0200)
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>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man5/locale.5

index f6b63da9d956e5ba35e4d33adfb988f40ca1a129..9789e0bb0a02d267cf195270e46c3814bce45c9c 100644 (file)
@@ -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