column tree id-parent loop crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Karel,

$ printf "%s\n%s\n" "a 1 0" "b 0 1" | column
--table-columns=NAME,ID,PARENT --tree NAME --tree-id ID --tree-parent
PARENT
Segmentation fault (core dumped)

I'm not sure what the command should do in this case. Maybe print some
sort of symbol of circle, such as below??

NAME  ID  PARENT
 a    1   0
( )
 b    0   1

The easiest option is to print complaint about circular input. IMHO
such complaint should inform ID & PARENT fields are in question to
make users life a little easier.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux