-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
du --exclude='[^/]*' /
behave differently
#3628
Comments
Let me take this up! |
Sure, please give it a try ;)
|
I found that Rust's Should we build a wrapper? Perhaps do some kind of pattern replacement? I feel that that could be difficult to do correctly. As an example, the following works:
|
This issue extends to other tools:
gnu coreutils uses fnmatch for both these matches. I'm thinking of creating an Where's a good place to put the code for I've also created an issue upstream: rust-lang/glob#116 |
Explored all the places where Only 3 utilities use
The exclude stuff calls
I believe The libc
which are the lowest 5 bits. When Gnulib's
and are bits 26 to 30 inclusive. Hence TLDR:
|
Another implementation difference in When In
|
Similarly:
Tested by
https://github.com/coreutils/coreutils/blob/master/tests/du/slash.sh
The text was updated successfully, but these errors were encountered: