1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

Note bug in trying to printf(1) things like: '-%s\n' "foo"

This commit is contained in:
David E. O'Brien 2010-09-09 19:27:40 +00:00
parent ea22f625a7
commit 4b2f915321
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212374

View File

@ -355,3 +355,10 @@ 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 .