summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-14 18:29:59 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-14 18:29:59 +0000
commit15966b504157990ac9b6a28bc69bdd1c536f41df (patch)
treed17dc99f92021a0e6a5ac290fa2ca6b07855d31a /usr.bin/printf
parentd6a800e5926c0c3aff8d4e1edea3220c21ec2d2e (diff)
downloadFreeBSD-src-15966b504157990ac9b6a28bc69bdd1c536f41df.zip
FreeBSD-src-15966b504157990ac9b6a28bc69bdd1c536f41df.tar.gz
Update the bugs section, null characters in the format string are now handled.
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.110
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index 01360a4..52c23b3 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -35,7 +35,7 @@
.\" @(#)printf.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd July 3, 2004
+.Dd April 14, 2005
.Dt PRINTF 1
.Os
.Sh NAME
@@ -341,11 +341,9 @@ modifier may produce additional precision, depending on the hardware platform.)
hexadecimal character constants were deliberately not provided.
.Pp
The escape sequence \e000 is the string terminator.
-When present in the
-.Ar format ,
-the
-.Ar format
-will be truncated at the \e000 character.
+When present in the argument for the
+.Cm b
+format, the argument will be truncated at the \e000 character.
.Pp
Multibyte characters are not recognized in format strings (this is only
a problem if
OpenPOWER on IntegriCloud