]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: make column.1 example to use ascii output
authorSami Kerola <kerolasa@iki.fi>
Tue, 9 May 2017 18:10:52 +0000 (19:10 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 May 2017 08:53:28 +0000 (10:53 +0200)
In same go ease reading by having data and arguments in same order.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/column.1

index b605d505d4ca1ce9d73517fb5c3420b1b8f1024d..03f669789c5f28c225d4c302bd8cb448fe901fb6 100644 (file)
@@ -125,12 +125,12 @@ Print fstab with header line and align number to the right:
 .PP
 Print a tree:
 .EX
-\fBecho -e '1 0 A\\n2 1 AA\\n3 1 AB\\n4 2 AAA\\n5 2 AAB' | column --tree 3 --tree-id 1 --tree-parent 2\fR
+\fBecho -e '1 0 A\\n2 1 AA\\n3 1 AB\\n4 2 AAA\\n5 2 AAB' | column --tree-id 1 --tree-parent 2 --tree 3\fR
 1  0  A
-2  1  ├─AA
-4  2  │ ├─AAA
-5  2  │ └─AAB
-3  1  └─AB
+2  1  |-AA
+4  2  | |-AAA
+5  2  | `-AAB
+3  1  `-AB
 .EE
 .SH BUGS
 Version 2.23 changed the