]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
column: describe change of separator behavior in man page bugs section
authorSami Kerola <kerolasa@iki.fi>
Sat, 29 Sep 2012 09:21:59 +0000 (10:21 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Oct 2012 08:43:33 +0000 (10:43 +0200)
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>
text-utils/column.1

index 8a461a83b4fe243f56b6abc3fd839b7c055955fc..993f737b6361beed59a0bb4de0f4440cb30aea77 100644 (file)
@@ -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),