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

Double negation is the same as single negation #51

Closed
tavianator opened this issue Dec 11, 2018 · 2 comments
Closed

Double negation is the same as single negation #51

tavianator opened this issue Dec 11, 2018 · 2 comments
Labels

Comments

@tavianator
Copy link
Contributor

$ find \! \! -name find
./src/find
./target/debug/find
$ ./target/debug/find \! \! -name find
.
./.git
./.git/branches
./.git/hooks
./.git/hooks/applypatch-msg.sample
...

Here when detecting a -not/! it does invert_next_matcher = true, but maybe it should be something more like invert_next_matcher = !invert_next_matcher?

Arcterus added a commit to Arcterus/findutils that referenced this issue Apr 24, 2019
@Arcterus Arcterus added the bug label Apr 24, 2019
cnd added a commit that referenced this issue Apr 24, 2019
@cnd
Copy link
Contributor

cnd commented Apr 24, 2019

closed?

@Arcterus
Copy link
Collaborator

This should be fixed now.

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