Karl Vogel-3 wrote: > >>> On Tue, 20 Oct 2009 10:55:07 -0700 (PDT), >>> Tom Worster <f...@thefsb.org> said: > > T> is there a cli command that lays out tsv files for display with a fixed > T> width font? that is, it figures how wide each column needs to be and > T> pads each field in the file with a suitable amount of space? > > http://www.cs.indiana.edu/~kinzler/align/ > > Align is a general-purpose text filter tool that helps vertically align > columns in string-separated tables of input text. You can direct how > the columns are separated on input and rejoined in the aligned output. > It's great. >
ooooh, that was close! if only it had a way to truncate fields in a column that has a few really long strings in it. thanks for pointing me to it. i'll see if i can't figure out the script and how to modify it to add this trick. (perl for beginners.) -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26002100.html Sent from the freebsd-questions mailing list archive at Nabble.com. _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"