Recursivly find and edit files in place

This is a simple oneliner to replace words inline using perl :)

# for i in `find ./ -name foo` ; { perl -p -i -e “s/oldword/newword/g” $i ;}

You’ll need bash and perl.