From: Bjarni Ingi Gislason Date: Thu, 11 Jun 2020 02:18:20 +0000 (+0000) Subject: doc: text-utils/*: fix some warnings from "mandoc -T lint" X-Git-Tag: v2.36-rc2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=960a8d1b63415706f5b0a2f812b5776b49c64b90;p=thirdparty%2Futil-linux.git doc: text-utils/*: fix some warnings from "mandoc -T lint" mandoc: ./text-utils/column.1:58:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:63:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:119:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:171:1: WARNING: skipping paragraph macro: sp after PP mandoc: ./text-utils/column.1:170:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/hexdump.1:206:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/hexdump.1:356:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:359:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:362:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:366:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:369:2: STYLE: fill mode already disabled, skipping: nf #### There are no changes in the output from "nroff" and "groff", except for a reformat of a paragraph caused by "fill-mode". Signed-off-by: Bjarni Ingi Gislason --- diff --git a/text-utils/column.1 b/text-utils/column.1 index 634c1be846..4c2de1cc5e 100644 --- a/text-utils/column.1 +++ b/text-utils/column.1 @@ -55,12 +55,10 @@ possible to modify by \fB\-\-table-*\fP options. Use this mode if not sure. .PP Input is taken from \fIfile\fR, or otherwise from standard input. Empty lines are ignored and all invalid multibyte sequences are encoded by \\x convention. -.PP .SH OPTIONS The argument \fIcolumns\fP for \fB\-\-table-*\fP options is comma separated list of the column names as defined by \fB\-\-table-columns\fP or it's column number in order as specified by input. It's possible to mix names and numbers. -.PP .IP "\fB\-J, \-\-json\fP" Use JSON output format to print the table, the option \fB\-\-table\-columns\fP is required and the option \fB\-\-table\-name\fP is recommended. @@ -116,7 +114,6 @@ other anomalies in child and parent relation are silently ignored. Specify column with line ID to create child-parent relation. .IP "\fB\-p, \-\-tree\-parent\fP \fIcolumn\fP" Specify column with parent ID to create child-parent relation. -.PP .IP "\fB\-x, \-\-fillrows\fP" Fill rows before filling columns. .IP "\fB\-V\fR, \fB\-\-version\fR" @@ -167,8 +164,6 @@ Print fstab and hide unnamed columns: .EX \fBsed 's/#.*//' /etc/fstab | column \-\-table \-\-table-columns SOURCE,TARGET,TYPE \-\-table-hide \-\fR .EE -.PP - .PP Print a tree: .EX diff --git a/text-utils/hexdump.1 b/text-utils/hexdump.1 index abf1b83702..eb7713ce61 100644 --- a/text-utils/hexdump.1 +++ b/text-utils/hexdump.1 @@ -203,7 +203,6 @@ NULL \ev .PD .RE -.PP .SS Conversion strings The .B hexdump @@ -353,20 +352,20 @@ Display the input in perusal format: "%06.6_ao " 12/1 "%3_u " "\et\et" "%_p " "\en" -.nf +.fi .PP Implement the \-x option: .nf "%07.7_Ax\en" "%07.7_ax " 8/2 "%04x " "\en" -.nf +.fi .PP MBR Boot Signature example: Highlight the addresses cyan and the bytes at offsets 510 and 511 green if their value is 0xAA55, red otherwise. .nf "%07.7_Ax_L[cyan]\en" "%07.7_ax_L[cyan] " 8/2 " %04x_L[green:0xAA55@510-511,!red:0xAA55@510-511] " "\en" -.nf +.fi .SH COLORS Implicit coloring can be disabled by an empty file \fI/etc/terminal-colors.d/hexdump.disable\fR.