bug-findutils
[Top][All Lists]
Advanced

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

[bug #26883] "or" condition and -exec directive


From: Dawid Marcin Grzesiak
Subject: [bug #26883] "or" condition and -exec directive
Date: Thu, 25 Jun 2009 10:27:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

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/





reply via email to

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