tableize is a small text utility that prints a table from a formatted file or standard input. Example:
$ cut -d':' -f1,3-6 /etc/passwd | head | tableize -sd':' +--------+---+-------+--------+-----------------+ | root | 0 | 0 | root | /root | | daemon | 1 | 1 | daemon | /usr/sbin | | bin | 2 | 2 | bin | /bin | | sys | 3 | 3 | sys | /dev | | sync | 4 | 65534 | sync | /bin | | games | 5 | 60 | games | /usr/games | | man | 6 | 12 | man | /var/cache/man | | lp | 7 | 7 | lp | /var/spool/lpd | | mail | 8 | 8 | mail | /var/mail | | news | 9 | 9 | news | /var/spool/news | +--------+---+-------+--------+-----------------+ Package home page for now: http://www.gnuwakes.org/index.php?option=com_content&view=article&id=54:tab-09-released&catid=36:tab&Itemid=58 During tableize's GNU evaluation, it appeared that the coreutils could be the right place to be for this tool, even if it's not ready for a coreutils' integration right now. Looking for feedback, comments, experience, tableize is still in development and nothing's written in the stone yet (options, program name, etc.). Any input appreciated. Regards, Guillaume
