mirror of
https://github.com/uutils/findutils.git
synced 2026-07-06 02:22:18 -04:00
find-unknown-predicate-message
GNU find rejects an unrecognized predicate with "find: unknown predicate '<arg>'", but we printed "find: Unrecognized flag: '<arg>'". Match GNU so the tests/find/refuse-noop GNU test (and others hitting the same path) pass. Add an integration test covering -noop and ---noop.
findutils
Rust implementation of GNU findutils: xargs, find, locate and updatedb.
The goal is to be a full drop-in replacement of the original commands.
Run the GNU testsuite on rust/findutils:
bash util/build-gnu.sh
# To run a specific test:
bash util/build-gnu.sh tests/misc/help-version.sh
Comparing with GNU
Build/run with BFS
bfs is a variant of the UNIX find command that operates breadth-first rather than depth-first.
bash util/build-bfs.sh
# To run a specific test:
bash util/build-bfs.sh posix/basic
For more details, see https://github.com/uutils/findutils-tracking/
Description
Languages
Rust
97.2%
Python
2.2%
Shell
0.6%