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: Wed, 01 Jun 2011 23:35:29 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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


Oops. find . -name "test*" -a -name "*[1-2]" 
The Asterisks got lost in all the -a examples including the code at the end
which should read 
find -name "test*" -a -name "*[1-2]" -exec echo {} ;

Complete bash code verbatim

touch test1 test2
find . -name test1 -or -name test2 -exec echo {} ;
find . -name test1 -or -name test2 -print
find . -name "test*" -a -name "*[1-2]" -exec echo {} ;
find . -name test1 -or -name test2 



    _______________________________________________________

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]