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>
This commit is contained in:
parent
61cebf7747
commit
018dfb0fe7
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue