4 ms·
no CSV diff capability? find which columns are different, which rows? ability to ignore spaces or leading/trailing 0s or quote marks?
by gregw2 8y ago
no CSV diff capability? find which columns are different, which rows? ability to ignore spaces or leading/trailing 0s or quote marks?
- burntsushi 8y agoI imagine you could get pretty far with diff <(xsv input old.csv) <(xsv input new.csv) In particular, xsv prints valid CSV, and quoting rules will be applied consistently so that they can be diffed. Ignoring spaces and 0s might not work though. If you'd like to file an issue with a specific use case (sample data from a real world problem would be great), then that would be appreciated!