From 018dfb0fe7fc65720332abd9d0e8bdffa89eaa5c Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 29 Sep 2012 10:21:59 +0100 Subject: [PATCH] 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 Signed-off-by: Sami Kerola Signed-off-by: Karel Zak --- text-utils/column.1 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/text-utils/column.1 b/text-utils/column.1 index 8a461a83b4..993f737b63 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), -- 2.47.2