I know that is possible to use for loop with find command like that
for i in `find $something`; do (...) done
but I want to use find comma
This worked for me
if test $(find . -name "pattern" | wc -c) -eq 0 then echo "missing file with name pattern" fi