neil 1 year ago
parent
commit
a51025fe8f
  1. 4
      acme.sh

4
acme.sh

@ -924,7 +924,9 @@ _sed_i() {
} }
_egrep_o() { _egrep_o() {
if ! egrep -o "$1" 2>/dev/null; then
if _exists egrep; then
egrep -o "$1" 2>/dev/null;
else
sed -n 's/.*\('"$1"'\).*/\1/p' sed -n 's/.*\('"$1"'\).*/\1/p'
fi fi
} }

Loading…
Cancel
Save