From a7ecf25974c75995e1bd9d2077dc5f4630d0a8b2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 26 Mar 2018 20:36:20 -0700 Subject: [PATCH] switch egrep to grep -E. egrep is deprecated. --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index ce6796b1..6bb57afb 100755 --- a/acme.sh +++ b/acme.sh @@ -798,7 +798,7 @@ _sed_i() { } _egrep_o() { - if ! egrep -o "$1" 2>/dev/null; then + if ! grep -E -o "$1" 2>/dev/null; then sed -n 's/.*\('"$1"'\).*/\1/p' fi }