[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] man pages: fix warnings from "mandoc -Tlint"
From: |
Bjarni Ingi Gislason |
Subject: |
[PATCH] man pages: fix warnings from "mandoc -Tlint" |
Date: |
Mon, 22 Jun 2020 01:27:12 +0000 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
Remove superfluous paragraph macros.
Remove superfluous requests ".fi".
Details:
mandoc: ./find/find.1:313:2: WARNING: skipping paragraph macro: PP empty
mandoc: ./find/find.1:607:1: WARNING: skipping paragraph macro: sp after PP
mandoc: ./find/find.1:606:2: WARNING: skipping paragraph macro: PP empty
mandoc: ./find/find.1:1678:2: WARNING: skipping paragraph macro: PP after SS
mandoc: ./find/find.1:2063:2: STYLE: fill mode already enabled, skipping: fi
mandoc: ./find/find.1:2302:2: WARNING: skipping paragraph macro: PP after SH
mandoc: ./find/find.1:2400:2: WARNING: skipping paragraph macro: PP empty
mandoc: ./find/find.1:2455:2: WARNING: skipping paragraph macro: PP after SH
mandoc: ./locate/locate.1:282:2: WARNING: skipping paragraph macro: PP after SH
mandoc: ./locate/locatedb.5:153:2: WARNING: skipping paragraph macro: PP after
SH
mandoc: ./locate/updatedb.1:128:2: WARNING: skipping paragraph macro: PP after
SH
mandoc: ./xargs/xargs.1:316:2: STYLE: fill mode already enabled, skipping: fi
mandoc: ./xargs/xargs.1:327:2: STYLE: fill mode already enabled, skipping: fi
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
find/find.1 | 9 +--------
locate/locate.1 | 1 -
locate/locatedb.5 | 1 -
locate/updatedb.1 | 1 -
xargs/xargs.1 | 2 --
5 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/find/find.1 b/find/find.1
index 0beab4f2..494beff0 100644
--- a/find/find.1
+++ b/find/find.1
@@ -310,7 +310,6 @@ level 1) will not be changed in the 4.3.x release series.
The
findutils test suite runs all the tests on
.B find
at each optimisation level and ensures that the result is the same.
-.P
.SH EXPRESSION
The part of the command line after the list of starting points is the
.IR expression .
@@ -603,8 +602,7 @@ for less than
.IP \fIn\fP
for exactly
.IR n .
-.P
-
+.
.IP "\-amin \fIn\fR"
File was last accessed \fIn\fR minutes ago.
@@ -1675,7 +1673,6 @@ find / -name needle -print -quit
.in -1i
.SS OPERATORS
-.P
Listed in order of decreasing precedence:
.IP "( \fIexpr\fR )"
@@ -2060,7 +2057,6 @@ any filenames containing newlines, single or double
quotes, or spaces.
.P
.B find /tmp \-name core \-type f \-print0 | xargs \-0 /bin/rm \-f
-.fi
Find files named
.B core
in or below the directory
@@ -2299,7 +2295,6 @@ is not obvious. Here is an example including some output.
.fi
.SH EXIT STATUS
-.PP
.B find
exits with status 0 if all files are processed successfully, greater
than 0 if errors occur.
@@ -2397,7 +2392,6 @@ The
.B +MODE
syntax had been deprecated since findutils-4.2.21
which was released in 2005.
-.P
.SH "NON-BUGS"
.SS Operator precedence surprises
The command
@@ -2452,7 +2446,6 @@ This is free software: you are free to change and
redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "BUGS"
-.P
There are security problems inherent in the behaviour that the POSIX
standard specifies for
.BR find ,
diff --git a/locate/locate.1 b/locate/locate.1
index 388eb360..afb45166 100644
--- a/locate/locate.1
+++ b/locate/locate.1
@@ -279,7 +279,6 @@ This is free software: you are free to change and
redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "BUGS"
-.P
The locate database correctly handles filenames containing newlines,
but only if the system's sort command has a working
\-z
diff --git a/locate/locatedb.5 b/locate/locatedb.5
index de6411a7..cfd3f1d4 100644
--- a/locate/locatedb.5
+++ b/locate/locatedb.5
@@ -150,7 +150,6 @@ There is NO WARRANTY, to the extent permitted by law.
\fBfind\fP(1), \fBlocate\fP(1), \fBlocatedb\fP(5), \fBxargs\fP(1),
\fBFinding Files\fP (on-line in Info, or printed)
.SH "BUGS"
-.P
The best way to report a bug is to use the form at
https://savannah.gnu.org/bugs/?group=findutils.
The reason for this is that you will then be able to track progress in
diff --git a/locate/updatedb.1 b/locate/updatedb.1
index fe4a983c..d34db158 100644
--- a/locate/updatedb.1
+++ b/locate/updatedb.1
@@ -125,7 +125,6 @@ This is free software: you are free to change and
redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "BUGS"
-.P
The
.B updatedb
program correctly handles filenames containing newlines,
diff --git a/xargs/xargs.1 b/xargs/xargs.1
index 2ad5555e..cdd6b132 100644
--- a/xargs/xargs.1
+++ b/xargs/xargs.1
@@ -313,7 +313,6 @@ any filenames containing newlines or spaces.
.P
.B find /tmp \-name core \-type f \-print0 | xargs \-0 /bin/rm \-f
-.fi
Find files named
.B core
in or below the directory
@@ -324,7 +323,6 @@ directory names containing spaces or newlines are correctly
handled.
.P
.B find /tmp \-depth \-name core \-type f \-delete
-.fi
Find files named
.B core
in or below the directory
--
2.27.0
- [PATCH] man pages: fix warnings from "mandoc -Tlint",
Bjarni Ingi Gislason <=