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

numfmt: should use lowercase k with --to=si option #7221

Open
jfinkels opened this issue Jan 26, 2025 · 4 comments
Open

numfmt: should use lowercase k with --to=si option #7221

jfinkels opened this issue Jan 26, 2025 · 4 comments
Labels

Comments

@jfinkels
Copy link
Collaborator

Environment: Ubuntu 24.04, uutils main branch (git commit 2430e2a), GNU coreutils v9.6.8-fbfd88-dirty

Steps to reproduce:

numfmt --to=si 2000

What happens now: uutils numfmt uses uppercase K:

2.0K

What I expected to happen: GNU numfmt uses lowercase k:

2.0k

Notes: this is causing a test failure in GNU test file tests/misc/numfmt.pl.

@RenjiSann
Copy link
Contributor

Just to make sure: Is it completely decorrelatted from any LC_* and location stuff ?

@cakebaker
Copy link
Contributor

Just to make sure: Is it completely decorrelatted from any LC_* and location stuff ?

Yes, the relevant tests in tests/misc/numfmt.pl don't use localization (they turn it off at the top of the file).

@melonSorbet
Copy link

Hey i am interested in fixing this. can this be asssigned to me?

@cakebaker
Copy link
Contributor

@melonSorbet sure, go ahead :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants