Skip to content

sort: distinguish blanks from control whitespace - #15436

Merged
cakebaker merged 1 commit into
uutils:mainfrom
limadog9:fix/sort-control-whitespace
Oct 17, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
limadog9:fix/sort-control-whitespace

Conversation

@limadog9

Copy link
Copy Markdown
Contributor

Use a shared blank-character check for field splitting, dictionary ordering, and numeric parsing. Carriage returns and form feeds no longer act as blanks, while embedded newlines retain their behavior in NUL-separated input.

Closes #14119

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/sort/sort is no longer failing!

@cakebaker
cakebaker merged commit 284c351 into uutils:main Oct 17, 2026
100 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Congrats! The gnu test tests/sort/sort is no longer failing!

Kudos, thanks!

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 / Sorting order differs from gnusort (CR/FF)

2 participants