Re: Display TSV files with columns aligned

2009-10-22 Thread Tom Worster
to add this trick. > >It would be lots easier to write a smaller script which finds and chops >the columns you like, and pipe the output to align. > i think you're right. that would be an easy script. thanks again! -- View this message in context: http://www.nabble.co

Re: Display TSV files with columns aligned

2009-10-21 Thread Karl Vogel
>> In an earlier message, I wrote: K> Align is a general-purpose text filter tool that helps vertically align K> columns in string-separated tables of input text. >> On Wed, 21 Oct 2009 16:58:25 -0700 (PDT), >> Tom Worster said: T> if only it had a way to truncate fields in a column that has a

Re: Display TSV files with columns aligned

2009-10-21 Thread Tom Worster
ow 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. ___ fre

Re: Display TSV files with columns aligned

2009-10-21 Thread Tom Worster
the other feature i need is truncation of the rare extra-long values in that last column. if i knew perl... -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26002056.html Sent from the freebsd-questions mailing list archive at Nabble.com. _

Re: Display TSV files with columns aligned

2009-10-21 Thread Karl Vogel
>> On Tue, 20 Oct 2009 10:55:07 -0700 (PDT), >> Tom Worster 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.

Re: Display TSV files with columns aligned

2009-10-20 Thread Dan Nelson
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 wa

Display TSV files with columns aligned

2009-10-20 Thread Tom Worster
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? tom -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns