aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strfmon.3
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2015-06-09 17:18:40 +0300
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-06-12 18:45:56 +0200
commitbe1e94afe1f23109e6c3d615bfa626c68b1167da (patch)
treed500179817ca662fd12ca55506e68aef9b90d5d6 /man3/strfmon.3
parent88b801ec786e6942e549ca05211583a660e59c0b (diff)
downloadman-pages-be1e94afe1f23109e6c3d615bfa626c68b1167da.tar.gz
strfmon.3: Rewrite the example
I think the example is more accurate when we use the exact locale names and also the Euro sign where appropriate. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strfmon.3')
-rw-r--r--man3/strfmon.329
1 files changed, 15 insertions, 14 deletions
diff --git a/man3/strfmon.3 b/man3/strfmon.3
index 1fcfbf069c..fe2a086c7d 100644
--- a/man3/strfmon.3
+++ b/man3/strfmon.3
@@ -189,27 +189,28 @@ strfmon(buf, sizeof(buf), "[%^=*#6n] [%=*#6i]",
outputs
.in +4n
-[ fl **1234,57] [ NLG **1 234,57]
+[€ **1234,57] [EUR **1 234,57]
.in
-in the Dutch locale (with fl for "florijnen" and NLG for Netherlands Guilders).
-The grouping character is very ugly because it takes as much space
-as a digit, while it should not take more than half that,
-and will no doubt cause confusion.
-Surprisingly, the "fl" is preceded and followed by a space,
-and "NLG" is preceded by one and followed by two spaces.
-This may be a bug in the locale files.
-The Italian, Australian, Swiss,
-and Portuguese locales yield
+in the
+.I nl_NL
+locale.
+The
+.IR de_DE ,
+.IR de_CH ,
+.IR en_AU ,
+and
+.I en_GB
+locales yield
.in +4n
-[ L. **1235] [ ITL **1.235]
+[ **1234,57 €] [ **1.234,57 EUR]
.br
-[ $**1234.57] [ AUD **1,234.57]
+[ Fr. **1234.57] [ CHF **1'234.57]
.br
-[Fr. **1234,57] [CHF **1.234,57]
+[ $**1234.57] [ AUD**1,234.57]
.br
-[ **1234$57Esc] [ **1.234$57PTE ]
+[ £**1234.57] [ GBP**1,234.57]
.in
.SH SEE ALSO
.BR duplocale (3),