inversion of nothing with --file? #3000
-
I want to list all found values from a search and all not found values from a search. search_for.txt:
The file in which these values are searched is named searched_in.txt. searched_in.txt:
I use the following commands (note that I'm on MS Windows): find entries of file search_for.txt:
not found entries of file search_for.txt:
The result is correct: found.txt:
not_found.txt:
Great so far.
... with the two above commands, the file found.txt gets created as a 0 bytes file (which is correct, because nothing is found) but the file not_found.txt gets also created as a 0 bytes file which doesn't match my expectations.
Isn't the inversion of nothing everything? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think you stumbled on a bug. Nice find. I filed an issue for it here: #3001 It's probably an easy fix. |
Beta Was this translation helpful? Give feedback.
-
Great thank you! |
Beta Was this translation helpful? Give feedback.
-
Here is my (somewhat ugly 😃) workaround for MS Windows:
It would be really nice if this could be fixed, though. |
Beta Was this translation helpful? Give feedback.
I think you stumbled on a bug. Nice find. I filed an issue for it here: #3001
It's probably an easy fix.