sed -i 's/oldwords/newwords/g' `grep 'keywords' -rl /www/site1/`
Find files with keywords in the /www/site1/ directory and replace oldwords with newwords.
Oldwords and newwords need to be escaped if they contain /
sed -i 's/oldwords/newwords/g' `grep 'keywords' -rl /www/site1/`
Find files with keywords in the /www/site1/ directory and replace oldwords with newwords.
Oldwords and newwords need to be escaped if they contain /