diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-06-17 20:28:22 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-06-17 20:28:22 +0300 |
commit | bda49ed60947e0438206b2f55119f5c5c132c734 (patch) | |
tree | 0f29d473dc850228178584e3ec85775f0319a320 | |
parent | 39be9aa58da1ddda16b41e92b12f118169049fed (diff) | |
download | wekan-bda49ed60947e0438206b2f55119f5c5c132c734.tar.gz wekan-bda49ed60947e0438206b2f55119f5c5c132c734.tar.bz2 wekan-bda49ed60947e0438206b2f55119f5c5c132c734.zip |
Add find-replace.sh script.
-rwxr-xr-x | find-replace.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/find-replace.sh b/find-replace.sh new file mode 100755 index 00000000..522affab --- /dev/null +++ b/find-replace.sh @@ -0,0 +1,5 @@ + +# Recursive find/replace. +# Syntax: ./find-replace.sh searchtext replacetext + +egrep -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g' |