doc: fix warnings from "test-groff" in man pages

Output is from: test-groff -b -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]
  Input file is ././find/find.1
  <./find/find.1>:365 (macro BR): only 1 argument, but more are expected
  <./find/find.1>:380 (macro BR): only 1 argument, but more are expected
  <./find/find.1>:1494 (macro BR): only 1 argument, but more are expected
  <./find/find.1>:1496 (macro BR): only 1 argument, but more are expected
  <./find/find.1>:1513 (macro BR): only 1 argument, but more are expected
  [...]
  Input file is ././locate/locate.1
  troff: <./locate/locate.1>:167: warning: trailing space

* find/find.1: Use a one-font (single letter) macro for a single argument.
* locate/locate.1: Remove a trailing space in a "string".
This commit is contained in:
Bjarni Ingi Gislason 2020-06-22 00:30:06 +00:00 committed by Bernhard Voelker
parent 7c72d72838
commit 8bff322b56
2 changed files with 6 additions and 6 deletions

View File

@ -362,7 +362,7 @@ The
.B \-print
action is performed on all files for which the whole expression is
true, unless it contains an action other than
.BR \-prune
.B \-prune
or
.BR \-quit .
Actions which inhibit the default
@ -377,7 +377,7 @@ are
.BR \-fprint ,
.BR \-fprintf ,
.BR \-ls ,
.BR \-print
.B \-print
and
.BR \-printf .
@ -1491,9 +1491,9 @@ stat), in decimal.
.IP %f
Print the basename; the file's name with any leading directories
removed (only the last element). For
.BR /,
.B /,
the result is
.BR /.
.B /.
See the
.B EXAMPLES
section for an example.
@ -1510,7 +1510,7 @@ Dirname; the Leading directories of the file's name (all but the last
element). If the file name contains no slashes (since it is in the
current directory) the %h specifier expands to `.'. For files which
are themselves directories and contain a slash (including
.BR /,
.B /,
), %h expands to the empty string. See the
.B EXAMPLES
section for an example.

View File

@ -164,7 +164,7 @@ the use of \-P is recommended over \-H.
Print search results when they normally would not, because of the presence
of \-\-statistics (\-S) or \-\-count (\-c).
.TP
.I "\-r, \-\-regex "
.I "\-r, \-\-regex"
The pattern specified on the command line is understood to be a
regular expression, as opposed to a glob pattern. The Regular
expressions work in the same was as in