svn commit: r224291 - stable/8/usr.bin/printf
Jilles Tjoelker
jilles at FreeBSD.org
Sun Jul 24 17:52:36 UTC 2011
Author: jilles
Date: Sun Jul 24 17:52:35 2011
New Revision: 224291
URL: http://svn.freebsd.org/changeset/base/224291
Log:
MFC r221013: printf(1): Mention effect of '#' modifier on other conversions.
Modified:
stable/8/usr.bin/printf/printf.1
Directory Properties:
stable/8/usr.bin/printf/ (props changed)
Modified: stable/8/usr.bin/printf/printf.1
==============================================================================
--- stable/8/usr.bin/printf/printf.1 Sun Jul 24 17:43:09 2011 (r224290)
+++ stable/8/usr.bin/printf/printf.1 Sun Jul 24 17:52:35 2011 (r224291)
@@ -35,7 +35,7 @@
.\" @(#)printf.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd September 5, 2010
+.Dd April 25, 2011
.Dt PRINTF 1
.Os
.Sh NAME
@@ -129,9 +129,9 @@ in the following order:
A `#' character
specifying that the value should be printed in an ``alternate form''.
For
-.Cm c , d ,
+.Cm b , c , d , s
and
-.Cm s ,
+.Cm u
formats, this option has no effect.
For the
.Cm o
@@ -145,9 +145,9 @@ format, a non-zero result has the string
.Pq Li 0X
prepended to it.
For
-.Cm e , E , f , g ,
+.Cm a , A , e , E , f , F , g
and
-.Cm G ,
+.Cm G
formats, the result will always contain a decimal point, even if no
digits follow the point (normally, a decimal point only appears in the
results of those formats if a digit follows the decimal point).
More information about the svn-src-stable-8
mailing list