mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
egrep is deprecated
egrep has been deprecated since 2007 and warns it's obsolete since: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 Signed-off-by: Simon Deziel <simon@sdeziel.info>
This commit is contained in:
committed by
Lukas Schauer
parent
7128e6b63c
commit
19c7fbbf47
@@ -126,7 +126,7 @@ jsonsh() {
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2196
|
||||
if echo "test string" | egrep -ao "test" >/dev/null 2>&1
|
||||
if echo "test string" | grep -Eao "test" >/dev/null 2>&1
|
||||
then
|
||||
ESCAPE='(\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})'
|
||||
CHAR='[^[:cntrl:]"\\]'
|
||||
|
||||
Reference in New Issue
Block a user