Closing the loop. Now this sed invocation is back to what it was before the attempts to 'improve' it.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@215189 91177308-0d34-0410-b5e6-96231b3b80d8
Reverting to Rui's last version, as it actually works both in Darwin and in Linux

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@215192 91177308-0d34-0410-b5e6-96231b3b80d8