linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] msr.4, veth.4, packet.7, sched.7, unicode.7: Remove redundant .PP
@ 2021-01-07 16:19 Alejandro Colomar
  2021-01-08  9:01 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-01-07 16:19 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

.PP and .IP are redundant just before .SH or .SS.
Remove them.

$ find man? -type f \
  |xargs sed -i '/^\.[IP]P$/{N;s/.*\n\(\.S[HS]\)/\1/}';

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man4/msr.4     | 1 -
 man4/veth.4    | 1 -
 man7/packet.7  | 1 -
 man7/sched.7   | 1 -
 man7/unicode.7 | 1 -
 5 files changed, 5 deletions(-)

diff --git a/man4/msr.4 b/man4/msr.4
index 9feb78a4b..38e4e8e18 100644
--- a/man4/msr.4
+++ b/man4/msr.4
@@ -56,7 +56,6 @@ to load it explicitly before use:
 $ modprobe msr
 .EE
 .in
-.PP
 .SH SEE ALSO
 Intel Corporation Intel 64 and IA-32 Architectures
 Software Developer's Manual Volume 3B Appendix B,
diff --git a/man4/veth.4 b/man4/veth.4
index b73976099..2e41a33d7 100644
--- a/man4/veth.4
+++ b/man4/veth.4
@@ -98,7 +98,6 @@ NIC statistics:
 16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
 .EE
 .in
-.PP
 .SH "SEE ALSO"
 .BR clone (2),
 .BR network_namespaces (7),
diff --git a/man7/packet.7 b/man7/packet.7
index 45c1bc75c..05a34dbeb 100644
--- a/man7/packet.7
+++ b/man7/packet.7
@@ -550,7 +550,6 @@ In addition, other errors may be generated by the low-level driver.
 is a new feature in Linux 2.2.
 Earlier Linux versions supported only
 .BR SOCK_PACKET .
-.PP
 .SH NOTES
 For portable programs it is suggested to use
 .B AF_PACKET
diff --git a/man7/sched.7 b/man7/sched.7
index 6285b3179..f554fc289 100644
--- a/man7/sched.7
+++ b/man7/sched.7
@@ -686,7 +686,6 @@ that is, no CPU time is set aside for non-real-time processes
 The default value in this file is 950,000 (0.95 seconds),
 meaning that 5% of the CPU time is reserved for processes that
 don't run under a real-time or deadline scheduling policy.
-.PP
 .SS Response time
 A blocked high priority thread waiting for I/O has a certain
 response time before it is scheduled again.
diff --git a/man7/unicode.7 b/man7/unicode.7
index d8dbf4be1..871740972 100644
--- a/man7/unicode.7
+++ b/man7/unicode.7
@@ -190,7 +190,6 @@ and
 .BR wcwidth (3)
 tells, how many positions (0\(en2) the cursor is advanced by the
 output of a character.
-.PP
 .SS Private Use Areas (PUA)
 In the Basic Multilingual Plane,
 the range 0xe000 to 0xf8ff will never be assigned to any characters by
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] msr.4, veth.4, packet.7, sched.7, unicode.7: Remove redundant .PP
  2021-01-07 16:19 [PATCH] msr.4, veth.4, packet.7, sched.7, unicode.7: Remove redundant .PP Alejandro Colomar
@ 2021-01-08  9:01 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-01-08  9:01 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man

Hi ALex,

On 1/7/21 5:19 PM, Alejandro Colomar wrote:
> .PP and .IP are redundant just before .SH or .SS.
> Remove them.
> 
> $ find man? -type f \
>   |xargs sed -i '/^\.[IP]P$/{N;s/.*\n\(\.S[HS]\)/\1/}';

Thanks! I've been fixing these as I spot them. This is better, 
of course. Patch applied.

Cheers,

Michael

> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man4/msr.4     | 1 -
>  man4/veth.4    | 1 -
>  man7/packet.7  | 1 -
>  man7/sched.7   | 1 -
>  man7/unicode.7 | 1 -
>  5 files changed, 5 deletions(-)
> 
> diff --git a/man4/msr.4 b/man4/msr.4
> index 9feb78a4b..38e4e8e18 100644
> --- a/man4/msr.4
> +++ b/man4/msr.4
> @@ -56,7 +56,6 @@ to load it explicitly before use:
>  $ modprobe msr
>  .EE
>  .in
> -.PP
>  .SH SEE ALSO
>  Intel Corporation Intel 64 and IA-32 Architectures
>  Software Developer's Manual Volume 3B Appendix B,
> diff --git a/man4/veth.4 b/man4/veth.4
> index b73976099..2e41a33d7 100644
> --- a/man4/veth.4
> +++ b/man4/veth.4
> @@ -98,7 +98,6 @@ NIC statistics:
>  16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
>  .EE
>  .in
> -.PP
>  .SH "SEE ALSO"
>  .BR clone (2),
>  .BR network_namespaces (7),
> diff --git a/man7/packet.7 b/man7/packet.7
> index 45c1bc75c..05a34dbeb 100644
> --- a/man7/packet.7
> +++ b/man7/packet.7
> @@ -550,7 +550,6 @@ In addition, other errors may be generated by the low-level driver.
>  is a new feature in Linux 2.2.
>  Earlier Linux versions supported only
>  .BR SOCK_PACKET .
> -.PP
>  .SH NOTES
>  For portable programs it is suggested to use
>  .B AF_PACKET
> diff --git a/man7/sched.7 b/man7/sched.7
> index 6285b3179..f554fc289 100644
> --- a/man7/sched.7
> +++ b/man7/sched.7
> @@ -686,7 +686,6 @@ that is, no CPU time is set aside for non-real-time processes
>  The default value in this file is 950,000 (0.95 seconds),
>  meaning that 5% of the CPU time is reserved for processes that
>  don't run under a real-time or deadline scheduling policy.
> -.PP
>  .SS Response time
>  A blocked high priority thread waiting for I/O has a certain
>  response time before it is scheduled again.
> diff --git a/man7/unicode.7 b/man7/unicode.7
> index d8dbf4be1..871740972 100644
> --- a/man7/unicode.7
> +++ b/man7/unicode.7
> @@ -190,7 +190,6 @@ and
>  .BR wcwidth (3)
>  tells, how many positions (0\(en2) the cursor is advanced by the
>  output of a character.
> -.PP
>  .SS Private Use Areas (PUA)
>  In the Basic Multilingual Plane,
>  the range 0xe000 to 0xf8ff will never be assigned to any characters by
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-08  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 16:19 [PATCH] msr.4, veth.4, packet.7, sched.7, unicode.7: Remove redundant .PP Alejandro Colomar
2021-01-08  9:01 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).