Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c3d7f2f1
Commit
c3d7f2f1
authored
Nov 29, 2020
by
Lorenz Stechauner
Browse files
World4You removed _ggrep
parent
faf6c167
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_world4you.sh
View file @
c3d7f2f1
...
@@ -183,16 +183,6 @@ _get_paketnr() {
...
@@ -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
"
| _
g
grep
-B
3
"^
\\
s*
$domain
\$
"
|
head
-n
1 |
sed
's/^.*>\([0-9][0-9]*\).*$/\1/'
)
PAKETNR
=
$(
echo
"
$form
"
| _
e
grep
_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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment