Display TSV files with columns aligned
fsb at thefsb.org
Wed Oct 21 23:58:26 UTC 2009
Karl Vogel-3 wrote:
>>> On Tue, 20 Oct 2009 10:55:07 -0700 (PDT),
>>> Tom Worster <fsb at 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?
> 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.
More information about the freebsd-questions