URL: <http://savannah.gnu.org/bugs/?26883>
Summary: "or" condition and -exec directive Project: findutils Submitted by: dawidmarcin Submitted on: Thu 25 Jun 2009 10:27:25 AM GMT Category: find Severity: 3 - Normal Item Group: Wrong result Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.0 Fixed Release: None _______________________________________________________ Details: See this bug: $ find -name '*.txt' -o -name '*.dat' ./a.txt ./b.dat ./b.txt ./a.dat $ find -name '*.txt' -o -name '*.dat' -exec echo {} \; ./b.dat ./a.dat For the second invocation, the output should be exactly the same as for the first one. Kind regards, Dawid, http://www.dmg.pl/ _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26883> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/