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
953a9b17
Commit
953a9b17
authored
Nov 29, 2019
by
Martin Kammerlander
Browse files
Remove obsolete blank.
parent
c641b61b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_kas.sh
View file @
953a9b17
...
...
@@ -149,7 +149,7 @@ _get_record_id() {
response
=
"
$(
_get
"
$KAS_Api$params
"
)
"
_debug2
"response"
"
$response
"
_record_id
=
"
$(
echo
"
$response
"
|
tr
-d
"
\n\r
"
|
sed
"s/=> Array/
\n
=> Array/g"
|
tr
-d
" "
|
tr
'[]'
'<>'
|
grep
"=>
$_record_name
<"
|
grep
'>TXT<'
|
tr
'<'
'\n'
|
grep
record_id |
cut
-d
'>'
-f
3
)
"
_record_id
=
"
$(
echo
"
$response
"
|
tr
-d
"
\n\r
"
|
sed
"s/=> Array/
\n
=> Array/g"
|
tr
-d
" "
|
tr
'[]'
'<>'
|
grep
"=>
$_record_name
<"
|
grep
'>TXT<'
|
tr
'<'
'\n'
|
grep
record_id |
cut
-d
'>'
-f
3
)
"
_debug2 _record_id
"
$_record_id
"
return
0
}
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