paulfitz/daff

daff on same file and highlight

gk7279 opened this issue · 0 comments

Hi-

Let's say I only have 1 file.

#cat ip.csv
name,age,height,id,sex
abc,12,6,7,m
abc,13,6,7,m
def,13,7,8,f
ghi,15,6,7,m

#cat op.csv
name,age,height,id,sex
abc,12,6,7,m
abc, $\color{red}{13}$ ,6,7,m
def,13,7,8,f
ghi,15,6,7,m

The logic is to use the "name" column as the key and see if we can match all the other columns against the duplicate record.