Remove obsolete blank.

This commit is contained in:
Martin Kammerlander 2019-11-29 22:51:23 +01:00
parent c641b61b26
commit 953a9b1768

View File

@ -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
}