Bash v4.4 or higher warns when discarding NULL bytes in command substitution output. Remove these bytes to avoid the undesired warnings. https://jira.digi.com/browse/DEL-5588 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>