[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting Columnar/Delimited Data?
From: |
Aaron Davies |
Subject: |
Re: Formatting Columnar/Delimited Data? |
Date: |
Thu, 19 Sep 2013 02:22:18 -0400 |
On Sep 16, 2013, at 10:48 AM, Sami Kerola <address@hidden> wrote:
> On 16 September 2013 15:43, Aaron Davies <address@hidden> wrote:
>
>> Are there any tools for formatting character-delimited, columnar files (csv,
>> tab-separated, etc.) for easy viewing? I'm looking for something that will
>> work out the proper width for each column and use that to output the file in
>> space-padded, fixed-width format.
>
> A command from util-linux package might suitable for purpose you are after.
>
> column -s, -t example.csv
That's perfect, thanks much!
It reminds me of "discovering" "paste -s" several months ago; I wonder what
other useful functionality is hiding in common tools....