about summary refs log tree commit diff stats
path: root/tools/scripts/replace.sh
diff options
context:
space:
mode:
authorbuilder <builder@host>2021-02-26 00:18:20 +0000
committerbuilder <builder@host>2021-02-26 00:18:20 +0000
commit2a862d9141a84b612ec2dd109a7f74a2b10ffb91 (patch)
tree037170f7158639bb6d43ac7ebc656df8e6dcc2bc /tools/scripts/replace.sh
parent88ad431d4bef94a816b4a1031fb5a62d4bd8a0d7 (diff)
downloaddoc-2a862d9141a84b612ec2dd109a7f74a2b10ffb91.tar.gz
tools scripts moved to linux
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"