Display TSV files with columns aligned

Dan Nelson dnelson at allantgroup.com
Tue Oct 20 19:00:22 UTC 2009


In the last episode (Oct 20), Tom Worster said:
> is there a cli command that lays out tsv files for display with a fixed
> width font?
> 
> that is, it figures how wide each column needs to be and pads each field
> in the file with a suitable about of space?

The "rs" command should do what you want, if you can figure out the correct
commandline options.  It's not easy, though...

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list