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