Very nice! How does it handle CSVs that are wider or longer than the terminal? How does it deal with columns that are exceptionally long, or multiline?
Often when working with large CSV files, I'll need to show or hide specific columns, especially if they are very long. Also, grepping the output for a specific line will hide the header as well, not to mention make the output unnecessarily wide if non-matching lines have longer fields than do the matching lines. So a built-in grepping feature would make this very useful.
> How does it handle CSVs that are wider or longer than the terminal?
Columns that are exceptionally long but cutting and appending an ellipsis if the line is over 20 characters. > a built-in grepping feature would make this very useful. see the following for csv data manipulation: xsv - Command line csv data manipulation. Rust csvtk - Command line csv data manipulation. Go tsv-utils - Command line csv data manipulation toolkit. D q - Command line csv data manipulation query-like. Python miller - Command line data manipulation, statistics, and more. C
This is quite nice, but I don't like how it cuts off the output (instead of making it scrollable). Also, why require the use of `cat`? Accepting a filename so I can do `tv foo.csv` would be much more ergonomic, in my opinion.
Comments (136) 27 threads
Earlier commentsOften when working with large CSV files, I'll need to show or hide specific columns, especially if they are very long. Also, grepping the output for a specific line will hide the header as well, not to mention make the output unnecessarily wide if non-matching lines have longer fields than do the matching lines. So a built-in grepping feature would make this very useful.
Columns that are exceptionally long but cutting and appending an ellipsis if the line is over 20 characters.
> a built-in grepping feature would make this very useful.
see the following for csv data manipulation:
xsv - Command line csv data manipulation. Rust
csvtk - Command line csv data manipulation. Go
tsv-utils - Command line csv data manipulation toolkit. D
q - Command line csv data manipulation query-like. Python
miller - Command line data manipulation, statistics, and more. C
https://github.com/evert/csv123
tv < foo.csv
All comments shown.
Couldn't load more comments. Check your connection and try again.