diff options
author | Sami Kerola | 2012-09-26 22:45:36 +0200 |
---|---|---|
committer | Karel Zak | 2012-10-02 10:24:48 +0200 |
commit | 732e3dec7d2cf7678201dc890f9b0a19fb42e6e9 (patch) | |
tree | 3096398cbfcc9753febf7f6e0d69e2bff2a79732 /text-utils/column.1 | |
parent | mount: fix a few typos (diff) | |
download | kernel-qcow2-util-linux-732e3dec7d2cf7678201dc890f9b0a19fb42e6e9.tar.gz kernel-qcow2-util-linux-732e3dec7d2cf7678201dc890f9b0a19fb42e6e9.tar.xz kernel-qcow2-util-linux-732e3dec7d2cf7678201dc890f9b0a19fb42e6e9.zip |
column: make defined separator to be non-greedy
This patch changes interpretation of subsequent delimeter interpretation.
Earlier version merged columns that had null string as content together,
which lead to output as visualized below.
$ printf "a:b:c\n1::3\n" | column -t -s ':'
a b c
1 3
The number 3 has wrong column, which this patch takes care of, and alters
the output following way.
$ printf "a:b:c\n1::3\n" | column -t -s ':'
a b c
1 3
This patch does not alter the default case, e.g., subsequent white spaces
are understood as separator of the same field, and the beginning of line
white spaces are being ignored together.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/column.1')
0 files changed, 0 insertions, 0 deletions