printf(1): Move non-bugs from the BUGS section to a new section CAVEATS.
This commit is contained in:
parent
cef9635e50
commit
1792d820be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221026
@ -337,6 +337,16 @@ command appeared in
|
|||||||
It is modeled
|
It is modeled
|
||||||
after the standard library function,
|
after the standard library function,
|
||||||
.Xr printf 3 .
|
.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
|
.Sh BUGS
|
||||||
Since the floating point numbers are translated from
|
Since the floating point numbers are translated from
|
||||||
.Tn ASCII
|
.Tn ASCII
|
||||||
@ -348,9 +358,6 @@ The
|
|||||||
.Cm L
|
.Cm L
|
||||||
modifier may produce additional precision, depending on the hardware platform.)
|
modifier may produce additional precision, depending on the hardware platform.)
|
||||||
.Pp
|
.Pp
|
||||||
.Tn ANSI
|
|
||||||
hexadecimal character constants were deliberately not provided.
|
|
||||||
.Pp
|
|
||||||
The escape sequence \e000 is the string terminator.
|
The escape sequence \e000 is the string terminator.
|
||||||
When present in the argument for the
|
When present in the argument for the
|
||||||
.Cm b
|
.Cm b
|
||||||
@ -360,10 +367,3 @@ Multibyte characters are not recognized in format strings (this is only
|
|||||||
a problem if
|
a problem if
|
||||||
.Ql %
|
.Ql %
|
||||||
can appear inside a multibyte character).
|
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 .
|
|
||||||
|
Loading…
Reference in New Issue
Block a user