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
f1f30743
Commit
f1f30743
authored
Dec 06, 2016
by
neilpang
Browse files
fix format
parent
f162ad19
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_dp.sh
View file @
f1f30743
...
@@ -67,7 +67,7 @@ dns_dp_rm() {
...
@@ -67,7 +67,7 @@ dns_dp_rm() {
return
0
return
0
fi
fi
record_id
=
$(
echo
"
$response
"
| _egrep_o
'{[^{]*"value":"'
$txtvalue
'"'
|
cut
-d
,
-f
1 |
cut
-d
:
-f
2 |
tr
-d
\"
)
record_id
=
$(
echo
"
$response
"
| _egrep_o
'{[^{]*"value":"'
"
$txtvalue
"
'"'
|
cut
-d
,
-f
1 |
cut
-d
:
-f
2 |
tr
-d
\"
)
_debug record_id
"
$record_id
"
_debug record_id
"
$record_id
"
if
[
-z
"
$record_id
"
]
;
then
if
[
-z
"
$record_id
"
]
;
then
_err
"Can not get record id."
_err
"Can not get record id."
...
...
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