-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
revision: 245623e
cd /
find /usr/bin -name pwd -exec {} -P ';' # /usr/bin/pwd -PGNU and BSD show
/
and exit zero, whereas uutils fails:
Failed to run {}: No such file or directory (os error 2)
As per https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/find.html, this is valid.
-exec utility_name [argument ...] ;
…
A utility_name or argument containing only the two characters "{}" shall be replaced by the current pathname.