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: show "invalid suffix" error for "i" suffix #3732

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

cakebaker
Copy link
Contributor

So far, all numbers with an invalid suffix cause an "invalid suffix" error. The exception are numbers with an "i" suffix, they cause an "invalid number" error. This PR removes this exception.

This makes the auto-suf-si-i test in https://github.com/coreutils/coreutils/blob/master/tests/misc/numfmt.pl pass.

@sylvestre sylvestre force-pushed the numfmt_auto_suf_si_i branch from 8352ff5 to 74bd9a2 Compare July 20, 2022 15:51
@sylvestre sylvestre merged commit ba24565 into uutils:main Jul 20, 2022
@cakebaker cakebaker deleted the numfmt_auto_suf_si_i branch July 21, 2022 06:04
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.

2 participants