diff options
author | Silvino Silva <silvino@bk.ru> | 2018-07-18 21:50:28 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-07-18 21:50:28 +0100 |
commit | ef8c5710e3188580c24f73228860b79cad57290e (patch) | |
tree | 2e4206fffed0ecdf66b0649919617438fac62214 /tools/scripts/replace.sh | |
parent | 6eacde73690fab3ce6e34fb99034e8f2917a1164 (diff) | |
parent | 8e26cc1ca02691e621a82c274e9cfcd90181ccbe (diff) | |
download | doc-ef8c5710e3188580c24f73228860b79cad57290e.tar.gz |
Merge branch 'master' into develop
Diffstat (limited to 'tools/scripts/replace.sh')
-rwxr-xr-x | tools/scripts/replace.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/scripts/replace.sh b/tools/scripts/replace.sh index e925e7d..8d5d8d9 100755 --- a/tools/scripts/replace.sh +++ b/tools/scripts/replace.sh @@ -5,4 +5,5 @@ 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 +grep -rl "$oldstring" $folder | xargs sed -i "s@$oldstring@$newstring@g" |