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

File sizes with -b option difficult to read without thousands delimiter (comma, period) #307

Open
AGI-chandler opened this issue Jan 27, 2023 · 5 comments

Comments

@AGI-chandler
Copy link

It would help to add the thousands delimiter when using -b option.  I think the code could even automatically use a comma or period based on the system's locale settings...
Thanks

@zevv
Copy link
Owner

zevv commented Jan 27, 2023

I like the readability of thousands separators, but I'm not too fond of them because it makes parsing ducs output much harder from scripts or other tools.

@l8gravely Opinions on this?

@l8gravely
Copy link
Collaborator

l8gravely commented Jan 27, 2023 via email

@zevv
Copy link
Owner

zevv commented Jan 27, 2023

Ah, -B is not bad; the change is trivial, I'll put it in.

@AGI-chandler
Copy link
Author

cool, thanks guys... would this only be for info subcommand or would work for the rest as well?

@zevv
Copy link
Owner

zevv commented Jan 27, 2023

Bah, I hate naming. How should we call the longopt, -b is for --bytes, so -B will be for what?

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

No branches or pull requests

3 participants