[Top][All Lists]

[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: Gecko/20101012 Firefox/3.6.11


                 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



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

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

It simply finds all files instead.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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