aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-23 09:17:10 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-23 09:17:10 +0000
commit363060058cf94d6ff4a74084b45ba93c7ffb5c62 (patch)
tree8f7ae98b9447df056285bc64e3ada9e4f0d12faf
parentcfc2d88d4da414cbdbd8a9e299c82b4150b31bc5 (diff)
downloadman-pages-363060058cf94d6ff4a74084b45ba93c7ffb5c62.tar.gz
spfix
-rw-r--r--man3/printf.36
1 files changed, 5 insertions, 1 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 81da06a1ce..91f88bca67 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -227,7 +227,9 @@ uses `.' as radix character, and does not have a grouping character.
Thus,
.in +4n
.nf
+
printf("%'.2f", 1234567.89);
+
.fi
.in
results in `1234567.89' in the POSIX locale, in `1234567,89' in the
@@ -966,10 +968,12 @@ fprintf(stdout, format,
where
.I format
depends on locale, and may permute the arguments.
-With the value
+With the value:
.in +4n
.nf
+
"%1$s, %3$d. %2$s, %4$d:%5$.2d\en"
+
.fi
.in
one might obtain `Sonntag, 3. Juli, 10:02'.