summaryrefslogtreecommitdiff
path: root/replace.sh
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-10-29 14:23:30 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-10-29 14:23:30 -0400
commitcb414f1480e9117e5d6ee0ab5cb81903e83cde9a (patch)
treee44bd6299c61335a9a0476db57b565aadcd0b4d7 /replace.sh
parent2ea331ebb341505df1cd8429b140c52e345a5af4 (diff)
overworld item & movement code, cable club code, remove more instances of W_, add PIKAHAPPY_TRADE
Also make replace.sh take args
Diffstat (limited to 'replace.sh')
-rw-r--r--replace.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/replace.sh b/replace.sh
index bc9e2296..7648423a 100644
--- a/replace.sh
+++ b/replace.sh
@@ -1,3 +1,3 @@
-sed -i 's/\<foo\>/bar/' $(git grep -l foo)
-# foo: phrase to find
-# bar: phrase to replace foo \ No newline at end of file
+sed -i 's/\<'$1'\>/'$2'/' $(git grep -l $1)
+# $1: phrase to find
+# $2: phrase to replace $1 \ No newline at end of file