mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
World4You removed _ggrep
This commit is contained in:
parent
faf6c16717
commit
c3d7f2f170
@ -183,16 +183,6 @@ _get_paketnr() {
|
|||||||
|
|
||||||
TLD="$domain"
|
TLD="$domain"
|
||||||
RECORD=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#TLD} - 1))")
|
RECORD=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#TLD} - 1))")
|
||||||
PAKETNR=$(echo "$form" | _ggrep -B 3 "^\\s*$domain\$" | head -n 1 | sed 's/^.*>\([0-9][0-9]*\).*$/\1/')
|
PAKETNR=$(echo "$form" | _egrep_o "data-textfilter=\" $domain .* [0-9]*" | head -n 1 | _egrep_o "[0-9]*")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
_ggrep() {
|
|
||||||
if _exists "ggrep"; then
|
|
||||||
ggrep "$@"
|
|
||||||
return $?
|
|
||||||
else
|
|
||||||
grep "$@"
|
|
||||||
return $?
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user