svn commit: r221013 - head/usr.bin/printf

Jilles Tjoelker jilles at FreeBSD.org
Mon Apr 25 12:36:29 UTC 2011


Author: jilles
Date: Mon Apr 25 12:36:29 2011
New Revision: 221013
URL: http://svn.freebsd.org/changeset/base/221013

Log:
  printf(1): Mention effect of '#' modifier on other conversions.

Modified:
  head/usr.bin/printf/printf.1

Modified: head/usr.bin/printf/printf.1
==============================================================================
--- head/usr.bin/printf/printf.1	Mon Apr 25 10:14:29 2011	(r221012)
+++ head/usr.bin/printf/printf.1	Mon Apr 25 12:36:29 2011	(r221013)
@@ -31,7 +31,7 @@
 .\"	@(#)printf.1	8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd November 19, 2010
+.Dd April 25, 2011
 .Dt PRINTF 1
 .Os
 .Sh NAME
@@ -125,9 +125,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
@@ -141,9 +141,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-all mailing list