|
|
|
|
|
by nonesuchluck
2295 days ago
|
|
I work with csv files a lot. I have a short awk script which truncates/pads each column to a fixed width which I can specify at runtime. It also repeats the top column (headers) every 20 rows in a different ANSI color. I pipe the output to less -SR for interactive use so I can scan delimited data in a scrollable grid, with all columns aligned and labeled. I understand there's vim plugins for this, but, ehh. |
|
* http://jdebp.uk./Softwares/nosh/guide/commands/console-flat-...
* http://johnkerl.org/miller/