-
Notifications
You must be signed in to change notification settings - Fork 220
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
feature request: Add -x
option to uniq
, to set on which fields not to group
#1456
Comments
-x
option to uniq
, to set on which fields not to group
You are my hero, thank you! But is there a way, to fix the fields to group by and to have in output all the input fields? |
Probably my latest question makes no sense |
@aborruso actually I don't understand ... it sounds like you're describing the existing |
@aborruso given this input:
and this output:
If we were to show all fields -- what would we show? The uniqifying aspect means to aggregate rows based on fields they have in common. For example, there are three rows with |
Sorry about the close -- my merging PR #1457 auto-did that ... :( |
That's perfect, thanks again and sorry for the confusion for my question earlier. |
Hi @johnkerl,
sometimes I have CSV file with nearly one hundred of fields. And I need to run uniq, grouping by 97 of these fields.
It would be convenient not to write all 97 fields, but to write only those three for which I do not want to group.
Something like
to group for all fields other than
color
andshape
.Thank you
The text was updated successfully, but these errors were encountered: