[aklug] Viewing CSV/TSV files in 'less' using 'column'

From: Shane Spencer <shane@bogomip.com>
Date: Fri Dec 03 2010 - 12:11:05 AKST

Just sharing.

I somehow missed using the program 'columns' until now. I've always
needed a good way of showing data on the console in fixed with columns
using a delimiter.

'cat file.csv | column -s, -t | less -N -S'

Lovely
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Dec 3 12:11:13 2010

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2010 - 12:11:14 AKST