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
895da5cb
Commit
895da5cb
authored
Nov 27, 2020
by
Lorenz Stechauner
Browse files
World4You Shellcheck
parent
ef914751
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_world4you.sh
View file @
895da5cb
...
...
@@ -171,7 +171,7 @@ _get_paketnr() {
domains
=
$(
echo
"
$form
"
| _ggrep
-E
'^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$'
|
sed
's/^\s*\(\S*\)$/\1/'
)
domain
=
''
for
domain
in
$domains
;
do
if
[
$(
echo
"
$domain
"
|
grep
"
$tld
\$
"
)
]
;
then
if
[
"
$(
echo
"
$domain
"
|
grep
-q
"
$tld
\$
"
)
"
]
;
then
break
fi
done
...
...
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