bug-findutils
[Top][All Lists]
Advanced

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

[bug #31933] Wrong results with negated -regex


From: Dario Niedermann
Subject: [bug #31933] Wrong results with negated -regex
Date: Sun, 19 Dec 2010 21:29:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11

URL:
  <http://savannah.gnu.org/bugs/?31933>

                 Summary: Wrong results with negated -regex
                 Project: findutils
            Submitted by: ndr
            Submitted on: Sun 19 Dec 2010 10:29:07 PM CET
                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.2.31
           Fixed Release: None

    _______________________________________________________

Details:

The following should find all files, except those ending in .css, .png, .gif
:

<blockquote>
find . -type f -regextype posix-egrep '!' -regex '\.(css|png|gif)$'
</blockquote>

It simply finds all files instead.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31933>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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