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: ch...@cbojar.net 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/