printf(1): Move non-bugs from the BUGS section to a new section CAVEATS.

This commit is contained in:
Jilles Tjoelker 2011-04-25 19:15:58 +00:00
parent cef9635e50
commit 1792d820be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221026

View File

@ -337,6 +337,16 @@ command appeared in
It is modeled
after the standard library function,
.Xr printf 3 .
.Sh CAVEATS
.Tn ANSI
hexadecimal character constants were deliberately not provided.
.Pp
Trying to print a dash ("-") as the first character causes
.Nm
to interpret the dash as a program argument.
.Nm --
must be used before
.Ar format .
.Sh BUGS
Since the floating point numbers are translated from
.Tn ASCII
@ -348,9 +358,6 @@ The
.Cm L
modifier may produce additional precision, depending on the hardware platform.)
.Pp
.Tn ANSI
hexadecimal character constants were deliberately not provided.
.Pp
The escape sequence \e000 is the string terminator.
When present in the argument for the
.Cm b
@ -360,10 +367,3 @@ Multibyte characters are not recognized in format strings (this is only
a problem if
.Ql %
can appear inside a multibyte character).
.Pp
Trying to print a dash ("-") as the first character causes
.Nm
to interpet the dash as a program argument.
.Nm --
must be used before
.Ar format .