bash
Search and replace in multiple files on linux with bash, egrep, sed function
Here's a simple function to add to your shell if you ever want to replace a string in multiple files at once. It ignores everything in .git, otherwise you get 'bad index file sha1 signature' errors. function gsed () { if [ -z "$3" ] then echo "