Comment Comment by mklein994 Neat. I'll add this to my toolbox.Somewhat unrelated: I discovered some time ago that the column command (from util-linux) can print trees of hierarchical data (up to 2 levels deep).From the man page: $ echo -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 1 0 A 2 1 |-AA 4 2 | |-AAA 5 2 | `-AAB 3 1 `-AB column(1): https://github.com/karelzak/util-linux/blob/master/text-util... parent mklein994 5 years ago
Somewhat unrelated: I discovered some time ago that the column command (from util-linux) can print trees of hierarchical data (up to 2 levels deep).
From the man page:
column(1): https://github.com/karelzak/util-linux/blob/master/text-util...