summaryrefslogtreecommitdiffstats
path: root/text-utils/column.1
diff options
context:
space:
mode:
authorSami Kerola2012-09-29 11:21:59 +0200
committerKarel Zak2012-10-02 10:43:33 +0200
commit018dfb0fe7fc65720332abd9d0e8bdffa89eaa5c (patch)
tree419f8ad14240f9746f41ef5fc267ae1d69f80207 /text-utils/column.1
parentsu: fixed a typo in pam error message (diff)
downloadkernel-qcow2-util-linux-018dfb0fe7fc65720332abd9d0e8bdffa89eaa5c.tar.gz
kernel-qcow2-util-linux-018dfb0fe7fc65720332abd9d0e8bdffa89eaa5c.tar.xz
kernel-qcow2-util-linux-018dfb0fe7fc65720332abd9d0e8bdffa89eaa5c.zip
column: describe change of separator behavior in man page bugs section
Add to manual page how to achieve old behavior, just in case someone relies on buggy behavior of the command. [kzak@redhat.com: - remove unnecessary info from the man page :-)] Reported-by: Padraig Brady <P@draigBrady.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/column.1')
-rw-r--r--text-utils/column.120
1 files changed, 20 insertions, 0 deletions
diff --git a/text-utils/column.1 b/text-utils/column.1
index 8a461a83b..993f737b6 100644
--- a/text-utils/column.1
+++ b/text-utils/column.1
@@ -65,6 +65,26 @@ the screen if no other information is available.
.nf
sed 's/#.*//' /etc/fstab | column -t
.nf
+.SH BUGS
+The util-linux version 2.23 changed
+.B \-s
+option to be non-greedy, for example:
+.PP
+.EX
+$ printf "a:b:c\n1::3\n" | column -t -s ':'
+.EE
+.PP
+old output:
+.EX
+a b c
+1 3
+.EE
+.PP
+new output (since util-linux 2.23)
+.EX
+a b c
+1 3
+.EE
.SH "SEE ALSO"
.BR colrm (1),
.BR ls (1),