I was recently surprised to find out, that the POSIX
list
of utilities doesn't include the
column
utility. column
first appeared way back in 4.3BSD, and
it's is pretty useful. Is there a POSIX equivalent of it?
The exact command I would like to replace is:
$ more -- ./tmp.txt 1 SMALL 000a 2 VERY_VERY_VERY_VERY_LONG 000b 3 SMALL 000c $ column -t -- ./tmp.txt 1 SMALL 000a 2 VERY_VERY_VERY_VERY_LONG 000b 3 SMALL 000c $
That is, expand tabs to create prettier columns.