-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
sort: gnu coreutils compatibility (sort.pl) #9862
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
base: main
Are you sure you want to change the base?
Conversation
|
GNU testsuite comparison: |
|
it regressed a test |
| fn test_keys_invalid_field() { | ||
| new_ucmd!() | ||
| .args(&["-k", "1."]) | ||
| .fails() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to add .matches_gnu() to these: #9660
Its harder to review manually to validate that these tests are made in a way that matches the original.
|
GNU testsuite comparison: |
1 similar comment
|
GNU testsuite comparison: |
|
Some jobs are failing |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
this huge pr is hard to review :( |
split the PR. |
|
split |
|
GNU testsuite comparison: |
4cf08a9 to
dc2952d
Compare
|
GNU testsuite comparison: |
Modify sort command to permit multiple -o/--output flags specifying the same file, matching GNU sort behavior. Previously, any multiple -o flags would error, but now only differing output files are rejected. Added test case for duplicate outputs.
…tters Changed ascii_case_insensitive_cmp to fold characters to uppercase instead of lowercase, ensuring that in ASCII case-insensitive sorting, letters are ordered before punctuation. Added tests to verify the correct behavior.
c054594 to
a209604
Compare
CodSpeed Performance ReportMerging this PR will improve performance by 8.49%Comparing Summary
Performance Changes
Footnotes
|
We will make the necessary changes to ensure the GNU coreutils tests pass.