find/find.1: Use a one-font (single letter) macro for a single argument. locate/locate.1: Remove a trailing space in a "string".
### Details: 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 Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- find/find.1 | 10 +++++----- locate/locate.1 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/find/find.1 b/find/find.1 index bdf3e469..0beab4f2 100644 --- a/find/find.1 +++ b/find/find.1 @@ -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. diff --git a/locate/locate.1 b/locate/locate.1 index fe37867a..388eb360 100644 --- a/locate/locate.1 +++ b/locate/locate.1 @@ -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 -- 2.27.0