If your system has Cygwin, column -t
in a terminal window is what I like to use.
$ cat file.csv
1,2,3,4
A,B,C,D
i,ii,iii,iv,v
foo,bar,foo foo,foobar
No commas
$ column -t -s"," file.csv
1 2 3 4
A B C D
i ii iii iv v
foo bar foo foo foobar
No commas
In order to update with changes to the original as you requested, you can combine it with the watch
command:
watch column -t -s, file.csv