Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 21:24:38 -0400 (EDT)
From:      vogelke+unix@pobox.com (Karl Vogel)
To:        freebsd-questions@freebsd.org
Subject:   Re: Display TSV files with columns aligned
Message-ID:  <20091022012438.9C74CBE77@kev.msw.wpafb.af.mil>
In-Reply-To: <26002100.post@talk.nabble.com> (message from Tom Worster on Wed,  21 Oct 2009 16:58:25 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091022012438.9C74CBE77>