aswinkarthik / csvdiff

A fast diff tool for comparing csv files
https://aswinkarthik.github.io/csvdiff/
MIT License
532 stars 57 forks source link

CSV columns not quoted properly in the output #25

Closed koterpillar closed 5 years ago

koterpillar commented 5 years ago

The following files, when diffed, don't produce the proper output:

1.csv:

1,"one,two"

2.csv

1,"one,four"
csvdiff 1.csv 2.csv
# Additions (0)
# Modifications (1)
- 1,one,two
+ 1,one,four

The output looks like it has 3 columns, while both files only have two.

aswinkarthik commented 5 years ago

Looks like a bug. I will look into this.

aswinkarthik commented 5 years ago

This is fixed as part of #27