diff options
author | Karel Zak | 2018-08-23 13:31:29 +0200 |
---|---|---|
committer | Karel Zak | 2018-08-23 13:34:43 +0200 |
commit | 2698f9ba887cb7e4a204ada72016b1c1192b17c1 (patch) | |
tree | 71a6bcfe5b2c2e5d4c2fc2695c232f31d393fd05 /text-utils/column.1 | |
parent | libsmartcols: don't mark as extreme where average is zero (diff) | |
download | kernel-qcow2-util-linux-2698f9ba887cb7e4a204ada72016b1c1192b17c1.tar.gz kernel-qcow2-util-linux-2698f9ba887cb7e4a204ada72016b1c1192b17c1.tar.xz kernel-qcow2-util-linux-2698f9ba887cb7e4a204ada72016b1c1192b17c1.zip |
column: add --table-empty-lines
The option allows to add empty line to the table. The default behavior
is to ignore empty lines at all.
echo -e "A\nAA\nAAA\n\nAAAA" | ./column --table
A
AA
AAA
AAAA
$ echo -e "A\nAA\nAAA\n\nAAAA" | ./column --table --table-empty-lines
A
AA
AAA
AAAA
Addresses: https://github.com/karelzak/util-linux/issues/593
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/column.1')
-rw-r--r-- | text-utils/column.1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/text-utils/column.1 b/text-utils/column.1 index e726151b6..9ce5879e5 100644 --- a/text-utils/column.1 +++ b/text-utils/column.1 @@ -106,6 +106,9 @@ hide all unnamed columns (see --table-columns). Specify columns order on output. .IP "\fB\-n, \-\-table-name\fP \fIname\fP" Specify the table name used for JSON output. The default is "table". +.IP "\fB\-L, \-\-table\-empty\-lines\fP" +Insert empty line to the table for each empty line on input. The default +is ignore empty lines at all. .IP "\fB\-r, \-\-tree\fP \fIcolumn\fP" Specify column to use tree-like output. Note that the circular dependencies and another anomalies in child and parent relation are silently ignored. |