Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2009 14:00:20 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Tom Worster <fsb@thefsb.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Display TSV files with columns aligned
Message-ID:  <20091020190019.GJ29215@dan.emsphone.com>
In-Reply-To: <25979622.post@talk.nabble.com>
References:  <25979622.post@talk.nabble.com>

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



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