summaryrefslogtreecommitdiff
path: root/replace.sh
blob: bc9e22960eb8d442cc5d8f1d05159813fcc602da (plain)
1
2
3
sed -i 's/\<foo\>/bar/' $(git grep -l foo)
# foo: phrase to find
# bar: phrase to replace foo