From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 19:00:22 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 54957106568B for ; Tue, 20 Oct 2009 19:00:22 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 1A90C8FC19 for ; Tue, 20 Oct 2009 19:00:21 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n9KJ0KhZ066469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Oct 2009 14:00:21 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n9KJ0Kbb004149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Oct 2009 14:00:20 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n9KJ0KEW004147; Tue, 20 Oct 2009 14:00:20 -0500 (CDT) (envelope-from dan) Date: Tue, 20 Oct 2009 14:00:20 -0500 From: Dan Nelson To: Tom Worster Message-ID: <20091020190019.GJ29215@dan.emsphone.com> References: <25979622.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25979622.post@talk.nabble.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 20 Oct 2009 14:00:21 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Display TSV files with columns aligned X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 19:00:22 -0000 In the last episode (Oct 20), Tom Worster said: > is there a cli command that lays out tsv files for display with a fixed > width font? > > that is, it figures how wide each column needs to be and pads each field > in the file with a suitable about of space? The "rs" command should do what you want, if you can figure out the correct commandline options. It's not easy, though... -- Dan Nelson dnelson@allantgroup.com