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

Option to ignore only some columns #23

Closed
koterpillar opened this issue Apr 3, 2019 · 5 comments · Fixed by #34
Closed

Option to ignore only some columns #23

koterpillar opened this issue Apr 3, 2019 · 5 comments · Fixed by #34
Milestone

Comments

@koterpillar
Copy link

I would like to compare a 50-column CSV file and I want to ignore the differences in a few columns only. Instead of specifying --columns 0,1,2,3,4..32,34..41,43..50 it would be nice to say --ignore-columns 33,42.

This is not the same as #20 which only controls the display of the columns.

@aswinkarthik aswinkarthik added this to the v1.3.0 milestone May 26, 2019
@aswinkarthik
Copy link
Owner

aswinkarthik commented Jul 9, 2019

I think we can add --ignore-columns as a flag. Either of --columns or --ignore-columns can be supplied at any given point in time.

@koterpillar
Copy link
Author

Flag typically refers to a boolean option that doesn't take arguments (e.g. -f for rm), but I'm fine with an --ignore-columns option.

@xbeta
Copy link

xbeta commented Aug 10, 2019

👍

@HarrisonMc555
Copy link

Is anyone working on this? I can take a shot at it if nobody is currently working on it. I'm not super experienced at Go, but I think I could manage this.

@aswinkarthik
Copy link
Owner

Sure go ahead. PRs are welcome!

Just reiterating what i said here

Only one of --columns or --ignore-columns can be specified at a given time.

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

Successfully merging a pull request may close this issue.

4 participants