using ' ' instead of '[:space:]' for tr
This commit is contained in:
parent
4eda39a31d
commit
1fa026b9c7
@ -46,9 +46,9 @@ _hostingde_parse() {
|
|||||||
notfind="${2}"
|
notfind="${2}"
|
||||||
fi
|
fi
|
||||||
if [ "${notfind}" ]; then
|
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
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user