From owner-freebsd-questions@FreeBSD.ORG Thu Oct 22 01:25:31 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 799AD106566B for ; Thu, 22 Oct 2009 01:25:31 +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 1FD9B8FC19 for ; Thu, 22 Oct 2009 01:25:30 +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 n9M1PNCa005339 for ; Wed, 21 Oct 2009 21:25:23 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n9M1PNNr005338; Wed, 21 Oct 2009 21:25:23 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 9C74CBE77; Wed, 21 Oct 2009 21:24:38 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <26002100.post@talk.nabble.com> (message from Tom Worster on Wed, 21 Oct 2009 16:58:25 -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: <20091022012438.9C74CBE77@kev.msw.wpafb.af.mil> Date: Wed, 21 Oct 2009 21:24:38 -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: Thu, 22 Oct 2009 01:25:31 -0000 >> 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 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