]> git.ipfire.org Git - thirdparty/util-linux.git/commit
column: add --table-empty-lines
authorKarel Zak <kzak@redhat.com>
Thu, 23 Aug 2018 11:31:29 +0000 (13:31 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Aug 2018 11:34:43 +0000 (13:34 +0200)
commit2698f9ba887cb7e4a204ada72016b1c1192b17c1
tree71a6bcfe5b2c2e5d4c2fc2695c232f31d393fd05
parent369be41bcd1240684d21535873910739fa74e298
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>
Documentation/TODO
text-utils/column.1
text-utils/column.c