Necropost...

Now using Mac OS X 10.8 this fails. Specifically, I know the grep fails, because of the "-P" parameter. I've found mention that 10.8 is using BSD grep instead of GNU grep and therefore lacks -P support.

So I can no longer do this:

Quote:

`grep -rilP '<string>My App</string>\n\t\t\t\t<key>Should.*</key>' *`


How can I get around this and be able to search for newlines and tabs as part of the string?



Edited by hybrid8 (21/09/2012 16:19)
_________________________
Bruno
Twisted Melon : Fine Mac OS Software