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: --from-iec-i should accept arguments without suffix #7219

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

numfmt: --from-iec-i should accept arguments without suffix #7219

jfinkels opened this issue Jan 26, 2025 · 2 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 --from=iec-i 1

What happens now: uutils numfmt complains about a missing suffix:

numfmt: missing 'i' suffix in input: '1' (e.g Ki/Mi/Gi)

What I expected to happen: GNU numfmt succeeds, assuming the number is given in bytes:

1

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

@melonSorbet
Copy link

hey im interested in helping with this. Can this be Assigned to me?

@cakebaker
Copy link
Contributor

@melonSorbet yes, you can work on it.

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

3 participants