Swap deprecated egrep for grep -E

also remove some extra whitespace in MD doc
This commit is contained in:
Martin Rys 2024-05-06 11:19:59 +02:00
parent f50c2af914
commit 7dc4d9bb71
2 changed files with 15 additions and 15 deletions

View file

@ -2,4 +2,4 @@
# Recursive find/replace.
# Syntax: ./find-replace.sh searchtext replacetext
egrep -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g'
grep -E -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g'