I am trying to follow the advice in past SO posts:
Find and replace with sed in directory and sub directories
and
awk/sed: How to do a recursive find/replace of a string?
but I'm getting an error with the following:
grep -r tmp_c . | xargs sed -i ’s/tmp_c/tmp_c_TEST/g’
And this is producing the following error:
sed: -e expression #1, char 1: unknown command: `?'
I'm not getting anything especially helpful when googling this. Is there some kind of file I might have in my directory that would prompt this sort of error? What else should I investigate?