[PATCH] man pages: fix formatting of long lines in tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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@xxxxxxxxx>
---

  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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux