summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-30 05:59:25 +0000
committerru <ru@FreeBSD.org>2002-05-30 05:59:25 +0000
commit4334e7515f973b382099b5cdbf70927515f27d23 (patch)
tree4d9b9bb2041d2d04d11ebe28041466de04068e1f /usr.bin/printf
parentfeec324370619aa6315e4a5fdeecfe83518d43e5 (diff)
downloadFreeBSD-src-4334e7515f973b382099b5cdbf70927515f27d23.zip
FreeBSD-src-4334e7515f973b382099b5cdbf70927515f27d23.tar.gz
mdoc(7) police: lint.
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.118
1 files changed, 8 insertions, 10 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index cea67da..b8e3b9a 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -62,8 +62,7 @@ The
.Ar arguments
after the first are treated as strings if the corresponding format is
either
-.Cm c ,
-.Cm b
+.Cm c , b
or
.Cm s ;
otherwise it is evaluated as a C constant, with the following extensions:
@@ -72,7 +71,8 @@ otherwise it is evaluated as a C constant, with the following extensions:
.It
A leading plus or minus sign is allowed.
.It
-If the leading character is a single or double quote the value is the ASCII
+If the leading character is a single or double quote, the value is the
+.Tn ASCII
code of the next character.
.El
.Pp
@@ -128,8 +128,7 @@ in the following order:
A `#' character
specifying that the value should be printed in an ``alternate form''.
For
-.Cm c ,
-.Cm d ,
+.Cm c , d ,
and
.Cm s ,
formats, this option has no effect. For the
@@ -142,10 +141,7 @@ format, a non-zero result has the string
.Li 0x
.Pq Li 0X
prepended to it. For
-.Cm e ,
-.Cm E ,
-.Cm f ,
-.Cm g ,
+.Cm e , E , f , g ,
and
.Cm G ,
formats, the result will always contain a decimal point, even if no
@@ -271,7 +267,9 @@ the actual width.
The traditional
.Bx
behavior of converting arguments of numeric formats not beginning
-with a digit to the ASCII code of the first characer is not supported.
+with a digit to the
+.Tn ASCII
+code of the first characer is not supported.
.Sh SEE ALSO
.Xr echo 1 ,
.Xr printf 3
OpenPOWER on IntegriCloud