bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33459] Find -exec not working correctly with binary matching


From: anonymous
Subject: [bug #33459] Find -exec not working correctly with binary matching
Date: Thu, 02 Jun 2011 00:38:44 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

[Prev in Thread] Current Thread [Next in Thread]