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