Skip to content

numfmt:fix issue #11653 & correct test cases#11695

Merged
cakebaker merged 2 commits intouutils:mainfrom
THEMIScale:main
Apr 7, 2026
Merged

numfmt:fix issue #11653 & correct test cases#11695
cakebaker merged 2 commits intouutils:mainfrom
THEMIScale:main

Conversation

@THEMIScale
Copy link
Copy Markdown
Contributor

Description

Fix the argument parsing behavior of numfmt to fully align with GNU coreutils for negative number inputs.

Testing

  • All new and existing numfmt tests pass
  • Behavior now matches numfmt implementation exactly
  • No breaking changes to other utilities

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/printf/printf-surprise is now passing!

@cakebaker cakebaker merged commit 66d4fae into uutils:main Apr 7, 2026
167 of 231 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks for your PR!

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.

numfmt: accepts -N negative numbers as positional args where GNU rejects them as invalid options

2 participants