Browse Source

using ' ' instead of '[:space:]' for tr

pull/2077/head
Oliver Dick 6 years ago
parent
commit
1fa026b9c7
  1. 4
      dnsapi/dns_hostingde.sh

4
dnsapi/dns_hostingde.sh

@ -46,9 +46,9 @@ _hostingde_parse() {
notfind="${2}"
fi
if [ "${notfind}" ]; then
_egrep_o \""${find}\":.*" | grep -v "${notfind}" | cut -d ':' -f 2 | cut -d ',' -f 1 | tr -d '[:space:]'
_egrep_o \""${find}\":.*" | grep -v "${notfind}" | cut -d ':' -f 2 | cut -d ',' -f 1 | tr -d ' '
else
_egrep_o \""${find}\":.*" | cut -d ':' -f 2 | cut -d ',' -f 1 | tr -d '[:space:]'
_egrep_o \""${find}\":.*" | cut -d ':' -f 2 | cut -d ',' -f 1 | tr -d ' '
fi
}

Loading…
Cancel
Save