summaryrefslogtreecommitdiffstats
path: root/text-utils/column.1
diff options
context:
space:
mode:
authorSami Kerola2017-05-09 20:10:52 +0200
committerKarel Zak2017-05-10 10:53:28 +0200
commit2571d74382d0b2b1ad9e4acd316bc5ea46236e7e (patch)
tree6d9e4f8f602125fb91fadc76cb8c94618dccebc6 /text-utils/column.1
parentswitch_root: use getopt_long() to parse options (diff)
downloadkernel-qcow2-util-linux-2571d74382d0b2b1ad9e4acd316bc5ea46236e7e.tar.gz
kernel-qcow2-util-linux-2571d74382d0b2b1ad9e4acd316bc5ea46236e7e.tar.xz
kernel-qcow2-util-linux-2571d74382d0b2b1ad9e4acd316bc5ea46236e7e.zip
docs: make column.1 example to use ascii output
In same go ease reading by having data and arguments in same order. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/column.1')
-rw-r--r--text-utils/column.110
1 files changed, 5 insertions, 5 deletions
diff --git a/text-utils/column.1 b/text-utils/column.1
index b605d505d..03f669789 100644
--- a/text-utils/column.1
+++ b/text-utils/column.1
@@ -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