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

sort: allow a sort mode to appear multiple times #4132

Merged

Conversation

tertsdiepraam
Copy link
Member

A test case for this is sort -k 2n,2n which should be accepted, because n is compatible with itself.

I think the only case we were missing was the case where a mode is given twice. All other combinations are probably incompatible.

Resolves #4129.

@sylvestre sylvestre force-pushed the sort-accept-sort-mode-multiple-times branch from 2c2dc09 to 7a54180 Compare November 12, 2022 20:47
A test case for this is `sort -k 2n,2n` which should be accepted, because `n` is
compatible with itself.

Resolves issue uutils#4129.
@sylvestre sylvestre force-pushed the sort-accept-sort-mode-multiple-times branch from 7a54180 to 03c40b2 Compare November 15, 2022 13:22
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/misc/timeout is no longer failing!

@sylvestre sylvestre merged commit 435ef5d into uutils:main Nov 17, 2022
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 this pull request may close these issues.

sort: accept multiple, compatible sort options
2 participants