Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daff on same file and highlight #185

Open
gk7279 opened this issue Nov 2, 2022 · 0 comments
Open

daff on same file and highlight #185

gk7279 opened this issue Nov 2, 2022 · 0 comments

Comments

@gk7279
Copy link

gk7279 commented Nov 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant