View a CSV on the Command Line
$ column -s, -t < somefile.csv | less -#2 -N -S
-s,
- use comma as the column delimiter-t
- create a table-#2
- set horizontal scroll amount-N
- don’t use line numbers-S
- chop long lines
$ column -s, -t < somefile.csv | less -#2 -N -S
-s,
- use comma as the column delimiter-t
- create a table-#2
- set horizontal scroll amount-N
- don’t use line numbers-S
- chop long lines