summaryrefslogtreecommitdiff
path: root/replace.sh
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-05-22 21:02:18 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-05-22 21:02:18 -0400
commitf3de3a20dfccb8a57cdf9feb860bf1e89a733f50 (patch)
tree5d3f60d4b7fdcf44f4202e7db915213d041f663d /replace.sh
parent3da00e31f8698c1b994c24ca55b5b9c3d3454af8 (diff)
Bank11 and 14 misc functions.
Diffstat (limited to 'replace.sh')
-rw-r--r--replace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/replace.sh b/replace.sh
index 49badda1..a4688225 100644
--- a/replace.sh
+++ b/replace.sh
@@ -1,3 +1,3 @@
-sed -i 's/\<'$1'\>/'$2'/' $(git grep -l $1 -- "*.asm")
+sed -i 's/\<'$1'\>/'$2'/' $(grep -lwr --include "*.asm" $1)
# $1: phrase to find
# $2: phrase to replace $1 \ No newline at end of file