Add support for embedded "{}"#213
Conversation
Given
find . -exec foo{}bar \;
GNU find will replace `{}` by the filename. This commit matches that
behavior.
Note that this is not required by the POSIX spec.
The GNU testsuite doesn't cover this case, so I've added a test in this
repo.
|
It still didn't make a difference for reporting new passing tests, since it's still comparing against the last |
|
Ah I see. Is that a blocker for merging this? |
|
Ping? |
|
sorry, i would like to see more tests:
|
You mean find_exec_tests.rs, right? Since this is an exec change
Are there any tests that cover utf8 that I could reference?
This seems kind of orthogonal to the PR -- regardless of whether there are multiple |
|
Okay I found a bunch of utf8 tests in the coreutils repo but none in the findutils repo. I'm not against adding those tests but again they seem orthogonal to this PR |
|
ok, don't hesitate if you want to add them :) |
Given
find . -exec foo{}bar ;
GNU find will replace
{}by the filename. This commit matches that behavior.Note that this is not required by the POSIX spec.
The GNU testsuite doesn't cover this case, so I've added a test in this repo.