I want to monitor/follow changes of a CSV file (some logging output of a robot). It is a huge file with <TAB> as delimiter and the first row with header information.
So far, I am using the output of tail - f <file.csv>, but it is not formatted per column, and looks like:
yAccelRaw       zAccelRaw       xGyroRaw    ... ... ...
3       256     1   ... ... ...
4       255     3   ... ... ... 
4       255     -6  ... ... ...
3       253     -1  ... ... ...
4       254     2   ... ... ...
5       255     0   ... ... ...
4       255     3   ... ... ...
5       254     3   ... ... ...
5       253     -1  ... ... ...
4       255     3   ... ... ...
With a CSV with 30 or more columns, understanding which value belongs to which column is not really easy. I was wandering if there is a general solution for printing the output formatted as table?
So far, I use tail -f <file.csv> | cut -f5,6 to cut out specific columns and observe their output, but I would prefer the full overview. Also, I tried piping the result to column which doesn't get updated.