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

This commit is contained in:
Jilles Tjoelker 2011-04-25 12:36:29 +00:00
parent 92a1de471c
commit 8a906b236a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221013

View file

@ -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).