Follow-up Comment #3, bug #33459 (project findutils):

Thanks for the quick reply. I didn't understand that actions are only done on
the preceding expression excluding -print. However  -prune is only one the
preceding expression while expressions still print if you don't have another
action in one of them.
 
So

find .  -name test1 -exec echo {} ; -or -name test2 -exec echo {} ;

works just as well as:

find .  ( -name test1  -or -name test2 ) -exec echo {} ;


I also now see where this is addressed in the man file. Thank you for your
time.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33459>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to