In the case of:
find ... -exec cmd {} \;
The exit status of cmd is used to determines whether the
predicate evaluates to true or false.
For instance:
find . -exec test -d {} \; -print
Would print the paths of the files that are directories or
symlink to directories, the standard equivalent of
Hi,
Bernhard Voelker wrote:
> Thanks for the report, however, although the result may be surprising a bit,
> I think it is mandated by POSIX:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html
>
> If the primary expression is punctuated by a , the utility
> utility_nam