Skip to contentSkip to conversation

man pages: fix formatting of long lines in tables

PATCH Applied Bjarni Ingi Gislason 2 participants 2 messages Aug 5, 2018 – Aug 6, 2018 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man pages: fix formatting of long lines in tables

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

Use text blocks for long lines.

---

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(-)
misc-utils/logger.1 +5 -2
index bbadd3ddc..9fee5d327 100644
@@ -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
misc-utils/uuidparse.1 +14 -5
index 979926755..b3362d401 100644
@@ -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
Signature · 4 lines
2.18.0

-- 
Bjarni I. Gislason
maintainer Applied
#1 lore raw
Quoted 3 lines · Bjarni Ingi Gislason
 misc-utils/logger.1    |  7 +++++--
 misc-utils/uuidparse.1 | 19 ++++++++++++++-----
 2 files changed, 19 insertions(+), 7 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com