@BastiaanVanDeWeerd is correct, grep on OSX 10.8 no longer supports PCRE ("Perl-compatible regular expressions") as Darwin now uses BSD grep instead of GNU grep. An alternative to installing the dupeslibrary is to install pcre instead: brew install pcre... as part of this, you will get the pcregreputility, which you can use as follows: pcregrep --color='auto' -n "[\x80-\xFF]" file.xml – pvandenberkDec 4 '12 at 11:24
dupes
library is to installpcre
instead:brew install pcre
... as part of this, you will get thepcregrep
utility, which you can use as follows:pcregrep --color='auto' -n "[\x80-\xFF]" file.xml
– pvandenberk Dec 4 '12 at 11:24