Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 19:10:30 -0400 (EDT)
From:      vogelke+unix@pobox.com (Karl Vogel)
To:        freebsd-questions@freebsd.org
Subject:   Re: Display TSV files with columns aligned
Message-ID:  <20091021231030.81DCABE77@kev.msw.wpafb.af.mil>
In-Reply-To: <25979622.post@talk.nabble.com> (message from Tom Worster on Tue,  20 Oct 2009 10:55:07 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>> On Tue, 20 Oct 2009 10:55:07 -0700 (PDT), 
>> Tom Worster <fsb@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.

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

Markets are self-correcting.  That's why I trust markets more than
governments.  Governments usually aren't self-correcting until too late.
                --Interview with Walter Wriston as reported in Wired 4.10



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