util-linux.vger.kernel.org archive mirror
 help / color / mirror / 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 related	[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, other threads:[~2018-08-06  9:10 UTC | newest]

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

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).