Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f00e2890
Commit
f00e2890
authored
Jul 07, 2020
by
neil
Browse files
fix format
parent
1dffaba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_regru.sh
View file @
f00e2890
...
@@ -85,8 +85,7 @@ _get_root() {
...
@@ -85,8 +85,7 @@ _get_root() {
_regru_rest POST
"service/get_list"
"username=
${
REGRU_API_Username
}
&password=
${
REGRU_API_Password
}
&output_format=xml&servtype=domain"
_regru_rest POST
"service/get_list"
"username=
${
REGRU_API_Username
}
&password=
${
REGRU_API_Password
}
&output_format=xml&servtype=domain"
domains_list
=
$(
echo
"
${
response
}
"
|
grep
dname |
sed
-r
"s/.*dname=
\"
([^
\"
]+)
\"
.*/
\\
1/g"
)
domains_list
=
$(
echo
"
${
response
}
"
|
grep
dname |
sed
-r
"s/.*dname=
\"
([^
\"
]+)
\"
.*/
\\
1/g"
)
for
ITEM
in
${
domains_list
}
for
ITEM
in
${
domains_list
}
;
do
do
case
"
${
domain
}
"
in
case
"
${
domain
}
"
in
*${
ITEM
}*
)
*${
ITEM
}*
)
_domain
=
${
ITEM
}
_domain
=
${
ITEM
}
...
...
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