Browse Source

switch egrep to grep -E.

egrep is deprecated.
pull/1452/head
Rosen Penev 7 years ago
parent
commit
a7ecf25974
  1. 2
      acme.sh

2
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
}

Loading…
Cancel
Save