Util-Linux Archive on lore.kernel.org
 help / Atom feed
* [PATCH] man pages: fix formatting of long lines in tables
@ 2018-08-05 18:51 Bjarni Ingi Gislason
  2018-08-06  7:03 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2018-08-05 18:51 UTC (permalink / raw)
  To: util-linux

  Define the allowed length of the last (second) column to use the
whole line for text.

  Use text blocks for long lines.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---

  Warning from "test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z"

warning: file '<./misc-utils/logger.1>', around line 308:
  table wider than line width

  [ "test-groff" is a developmental version of "groff" ]

 misc-utils/logger.1    |  7 +++++--
 misc-utils/uuidparse.1 | 19 ++++++++++++++-----
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/misc-utils/logger.1 b/misc-utils/logger.1
index bbadd3ddc..9fee5d327 100644
--- a/misc-utils/logger.1
+++ b/misc-utils/logger.1
@@ -293,15 +293,18 @@ utility exits 0 on success, and >0 if an error occurs.
 .SH FACILITIES AND LEVELS
 Valid facility names are:
 .IP
+.nr WI \n(.lu-\n(.iu-\w'\fBauthpriv\fR'u-3n
 .TS
 tab(:);
-l l.
+l lw(\n(WIu).
 \fBauth
 \fBauthpriv\fR:for security information of a sensitive nature
 \fBcron
 \fBdaemon
 \fBftp
-\fBkern\fR:cannot be generated from userspace process, automatically converted to \fBuser
+\fBkern\fR:T{
+cannot be generated from userspace process, automatically converted to \fBuser
+T}
 \fBlpr
 \fBmail
 \fBnews
diff --git a/misc-utils/uuidparse.1 b/misc-utils/uuidparse.1
index 979926755..b3362d401 100644
--- a/misc-utils/uuidparse.1
+++ b/misc-utils/uuidparse.1
@@ -12,13 +12,22 @@ This command will parse unique identifier inputs from either command line
 arguments or standard input.  The inputs are white-space separated.
 .SH OUTPUT
 .SS Variants
+.nr WI \n(.lu-\n(.iu-\w'Microsoft'u-3n
 .TS
 tab(:);
-l l.
-NCS:Network Computing System identifier.  These were the original UUIDs.
-DCE:The Open Software Foundation's (OSF) Distributed Computing Environment UUIDs.
-Microsoft:Microsoft Windows platform globally unique identifier (GUID).
-other:Unknown variant.  Usually invalid input data.
+l lw(\n(WIu).
+NCS:T{
+Network Computing System identifier.  These were the original UUIDs.
+T}
+DCE:T{
+The Open Software Foundation's (OSF) Distributed Computing Environment UUIDs.
+T}
+Microsoft:T{
+Microsoft Windows platform globally unique identifier (GUID).
+T}
+other:T{
+Unknown variant.  Usually invalid input data.
+T}
 .TE
 .SS Types
 .TS
-- 
2.18.0

-- 
Bjarni I. Gislason

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

* Re: [PATCH] man pages: fix formatting of long lines in tables
  2018-08-05 18:51 [PATCH] man pages: fix formatting of long lines in tables Bjarni Ingi Gislason
@ 2018-08-06  7:03 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2018-08-06  7:03 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: util-linux

On Sun, Aug 05, 2018 at 06:51:25PM +0000, Bjarni Ingi Gislason wrote:
>  misc-utils/logger.1    |  7 +++++--
>  misc-utils/uuidparse.1 | 19 ++++++++++++++-----
>  2 files changed, 19 insertions(+), 7 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 --
2018-08-05 18:51 [PATCH] man pages: fix formatting of long lines in tables Bjarni Ingi Gislason
2018-08-06  7:03 ` 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 util-linux@archiver.kernel.org
	public-inbox-index util-linux


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