Display TSV files with columns aligned

Karl Vogel vogelke+unix at pobox.com
Thu Oct 22 01:25:31 UTC 2009


>> 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 <fsb at thefsb.org> said:

T> if only it had a way to truncate fields in a column that has a few
T> really long strings in it. thanks for pointing me to it. i'll see if i
T> can't figure out the script and how to modify it 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.

-- 
Karl Vogel                      I don't speak for the USAF or my company

The scientific theory I like best is that the rings of Saturn
are composed entirely of lost airline luggage.            --Mark Russell


More information about the freebsd-questions mailing list