In the linux shell, the following command will recursively search and replace all instances of \'this\' with \'that\' (I don\'t have a Linux shell in front of me, but it sho
A version that works on both Linux and Mac OS X (by adding the -e switch to sed):
-e
sed
export LC_CTYPE=C LANG=C find . -name '*.txt' -print0 | xargs -0 sed -i -e 's/this/that/g'