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/