This bit me in our "golden file" checking portion of our product's test suite. I moved the golden file checking regex to a Perl script. Apple's obsession with removing GNU utilities has been annoying but I suppose the test suite should have taken grep portability problems into account.