mdoc(7) police: lint.
This commit is contained in:
parent
7181624aaa
commit
3a0f91d5ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97541
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user