mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-07-08 22:15:19 +02: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
+1
-1
@@ -126,7 +126,7 @@ jsonsh() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2196
|
# 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
|
then
|
||||||
ESCAPE='(\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})'
|
ESCAPE='(\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})'
|
||||||
CHAR='[^[:cntrl:]"\\]'
|
CHAR='[^[:cntrl:]"\\]'
|
||||||
|
|||||||
Reference in New Issue
Block a user