mdoc(7) police: lint.
This commit is contained in:
parent
feec324370
commit
4334e7515f
@ -62,8 +62,7 @@ The
|
|||||||
.Ar arguments
|
.Ar arguments
|
||||||
after the first are treated as strings if the corresponding format is
|
after the first are treated as strings if the corresponding format is
|
||||||
either
|
either
|
||||||
.Cm c ,
|
.Cm c , b
|
||||||
.Cm b
|
|
||||||
or
|
or
|
||||||
.Cm s ;
|
.Cm s ;
|
||||||
otherwise it is evaluated as a C constant, with the following extensions:
|
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
|
.It
|
||||||
A leading plus or minus sign is allowed.
|
A leading plus or minus sign is allowed.
|
||||||
.It
|
.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.
|
code of the next character.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
@ -128,8 +128,7 @@ in the following order:
|
|||||||
A `#' character
|
A `#' character
|
||||||
specifying that the value should be printed in an ``alternate form''.
|
specifying that the value should be printed in an ``alternate form''.
|
||||||
For
|
For
|
||||||
.Cm c ,
|
.Cm c , d ,
|
||||||
.Cm d ,
|
|
||||||
and
|
and
|
||||||
.Cm s ,
|
.Cm s ,
|
||||||
formats, this option has no effect. For the
|
formats, this option has no effect. For the
|
||||||
@ -142,10 +141,7 @@ format, a non-zero result has the string
|
|||||||
.Li 0x
|
.Li 0x
|
||||||
.Pq Li 0X
|
.Pq Li 0X
|
||||||
prepended to it. For
|
prepended to it. For
|
||||||
.Cm e ,
|
.Cm e , E , f , g ,
|
||||||
.Cm E ,
|
|
||||||
.Cm f ,
|
|
||||||
.Cm g ,
|
|
||||||
and
|
and
|
||||||
.Cm G ,
|
.Cm G ,
|
||||||
formats, the result will always contain a decimal point, even if no
|
formats, the result will always contain a decimal point, even if no
|
||||||
@ -271,7 +267,9 @@ the actual width.
|
|||||||
The traditional
|
The traditional
|
||||||
.Bx
|
.Bx
|
||||||
behavior of converting arguments of numeric formats not beginning
|
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
|
.Sh SEE ALSO
|
||||||
.Xr echo 1 ,
|
.Xr echo 1 ,
|
||||||
.Xr printf 3
|
.Xr printf 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user