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