From owner-freebsd-questions@FreeBSD.ORG Wed Oct 21 23:10:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60EC61065676 for ; Wed, 21 Oct 2009 23:10:54 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 06ADB8FC18 for ; Wed, 21 Oct 2009 23:10:53 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n9LNAqX8000931 for ; Wed, 21 Oct 2009 19:10:52 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n9LNAq1Z000930; Wed, 21 Oct 2009 19:10:52 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 81DCABE77; Wed, 21 Oct 2009 19:10:30 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <25979622.post@talk.nabble.com> (message from Tom Worster on Tue, 20 Oct 2009 10:55:07 -0700 (PDT)) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20091021231030.81DCABE77@kev.msw.wpafb.af.mil> Date: Wed, 21 Oct 2009 19:10:30 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Display TSV files with columns aligned X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 23:10:54 -0000 >> 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.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