bug-findutils
[Top][All Lists]
Advanced

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

[bug #42501] Add -E option for FreeBSD/Mac OSX compatibility


From: anonymous
Subject: [bug #42501] Add -E option for FreeBSD/Mac OSX compatibility
Date: Tue, 03 Jun 2014 18:32:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

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

                 Summary: Add -E option for FreeBSD/Mac OSX compatibility
                 Project: findutils
            Submitted by: None
            Submitted on: Tue 03 Jun 2014 06:32:14 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Chris Bojarski
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None

    _______________________________________________________

Details:

I was working on a script recently that required cross-platform regular
expression filtering. On Linux, the -regextype posix-egrep works like a charm,
but this option is not cross-platform. On FreeBSD
<http://www.freebsd.org/cgi/man.cgi?query=find> and Mac OSX
<https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/find.1.html>,
there is a -E option that looks equivalent to -regextype posix-egrep. I was
hoping it might be possible to add a -E option that aliases to -regextype
posix-egrep so that the same functionality can be used across different
implementations.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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