about summary refs log tree commit diff stats
path: root/tools/scripts/replace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts/replace.sh')
-rwxr-xr-xtools/scripts/replace.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/scripts/replace.sh b/tools/scripts/replace.sh
deleted file mode 100755
index 8d5d8d9..0000000
--- a/tools/scripts/replace.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# find and replace string on files
-folder=$1
-oldstring=$2
-newstring=$3
-
-#grep -rl $oldstring $folder | xargs sed -i s@$oldstring@$newstring@g
-grep -rl "$oldstring" $folder | xargs sed -i "s@$oldstring@$newstring@g"