Hi Simon, I think the issue is that the name itself is altered: mkdir
0123 twice prints 123: File exists, so the leading zero gets dropped
(same for -0123 → -123). Anything that parses as a number gets
reformatted, and in some locales 12345 would even show as 12 345.
Michael's 0123a example prints correctly because it isn't a number.

https://github.com/uutils/coreutils/pull/15198

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169935

Title:
  mkdir: wrong error message. string converted to int.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2169935/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to