From cb414f1480e9117e5d6ee0ab5cb81903e83cde9a Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Thu, 29 Oct 2015 14:23:30 -0400 Subject: overworld item & movement code, cable club code, remove more instances of W_, add PIKAHAPPY_TRADE Also make replace.sh take args --- replace.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'replace.sh') 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/\/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 -- cgit v1.2.3