diff options
author | Silvino Silva <silvino@bk.ru> | 2018-07-16 15:32:41 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-07-16 15:32:41 +0100 |
commit | 214aa23801332d2120df208f9d9042fd51c5f2d3 (patch) | |
tree | afb5b18f789c68bbf577389ed5268cd2f896e66d /tools/scripts/replace.sh | |
parent | bdea1c23d13c417a00b71654670aed309cfa302a (diff) | |
download | doc-214aa23801332d2120df208f9d9042fd51c5f2d3.tar.gz |
dumped new version 0.3.5
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" |