On Fri, Dec 02, 2011 at 03:25:45AM +0400, Dmitry V. Levin wrote:
> On Thu, Dec 01, 2011 at 03:18:09PM -0700, Eric Blake wrote:
> > On 12/01/2011 03:00 PM, Peng Yu wrote:
> > >
> > >> but few people know that hidden within readlink they will find a
> > >> file-name canonicalization tool
> >
> > >
Thanks Pádraig for your instructive input!
> Hmm, I wonder would it be worth augmenting `column -t` from util-linux
> to add a --border option and also detect number cols and auto right align?
> I guess a --header option would be useful too.
I have to admit I missed the '-t' option of column over
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/s