Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Subject: docs: remove unnecessary paragraph macros
@ 2020-07-10  0:12 Bjarni Ingi Gislason
  2020-07-14  8:49 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2020-07-10  0:12 UTC (permalink / raw)
  To: util-linux

  Remove a second paragraph macro (.TP, .PP) as it does not change the
output (.SS/.PP) or it adds an extra empty line (.TP/.TP)

  Warning from "mandoc -Tlint":

mandoc: ./sys-utils/hwclock.8.in:299:2: WARNING: line scope broken: TP breaks TP
mandoc: ./sys-utils/hwclock.8.in:459:2: WARNING: skipping paragraph macro: PP after SS
mandoc: ./sys-utils/hwclock.8.in:543:2: WARNING: skipping paragraph macro: PP after SS
mandoc: ./sys-utils/hwclock.8.in:574:2: WARNING: skipping paragraph macro: PP after SS
mandoc: ./sys-utils/hwclock.8.in:673:2: WARNING: skipping paragraph macro: PP after SS
mandoc: ./sys-utils/hwclock.8.in:721:2: WARNING: skipping paragraph macro: PP after SS

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 sys-utils/hwclock.8.in | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys-utils/hwclock.8.in b/sys-utils/hwclock.8.in
index e62b4ad09..84fe4d84f 100644
--- a/sys-utils/hwclock.8.in
+++ b/sys-utils/hwclock.8.in
@@ -297,7 +297,6 @@ another delay is required.
 .RE
 .
 .TP
-.TP
 .BR \-D ", " \-\-debug
 .RB Use\  \-\-verbose .
 .RB The\  \%\-\-debug\  option
@@ -456,7 +455,6 @@ is doing internally.
 .SH NOTES
 .
 .SS Clocks in a Linux System
-.PP
 There are two types of date-time clocks:
 .PP
 .B The Hardware Clock:
@@ -540,7 +538,6 @@ See also
 .BR \%settimeofday (2).
 .
 .SS Hardware Clock Access Methods
-.PP
 .B \%hwclock
 uses many different ways to get and set Hardware Clock values.  The most
 normal way is to do I/O to the rtc device special file, which is
@@ -571,7 +568,6 @@ provides it for testing, troubleshooting, and  because it may be the
 only method available on ISA systems which do not have a working rtc
 device driver.
 .SS The Adjust Function
-.PP
 The Hardware Clock is usually not very accurate.  However, much of its
 inaccuracy is completely predictable - it gains or loses the same amount
 of time every day.  This is called systematic drift.
@@ -670,7 +666,6 @@ You can use an adjtime file that was previously used with the
 .BR \%clock "(8) program with " \%hwclock .
 .
 .SS Automatic Hardware Clock Synchronization by the Kernel
-.PP
 You should be aware of another way that the Hardware Clock is kept
 synchronized in some systems.  The Linux kernel has a mode wherein it
 copies the System Time to the Hardware Clock every 11 minutes. This mode
@@ -718,7 +713,6 @@ notify the kernel.
 should not be used with NTP \%'11\ minute\ mode'.
 .
 .SS ISA Hardware Clock Century value
-.PP
 There is some sort of standard that defines CMOS memory Byte 50 on an ISA
 machine as an indicator of what century it is.
 .B \%hwclock
-- 
2.27.0

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

* Re: [PATCH] Subject: docs: remove unnecessary paragraph macros
  2020-07-10  0:12 [PATCH] Subject: docs: remove unnecessary paragraph macros Bjarni Ingi Gislason
@ 2020-07-14  8:49 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2020-07-14  8:49 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: util-linux

On Fri, Jul 10, 2020 at 12:12:44AM +0000, Bjarni Ingi Gislason wrote:
>  sys-utils/hwclock.8.in | 6 ------
>  1 file changed, 6 deletions(-)

Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10  0:12 [PATCH] Subject: docs: remove unnecessary paragraph macros Bjarni Ingi Gislason
2020-07-14  8:49 ` Karel Zak

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git