tr breakage
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Tue May 5 13:46:02 UTC 2009
This script snippet, when run on host with coreutils tr:
#bb=./busybox
echo \"$(echo "$foo" | $bb tr -d '[0-9a-zA-Z]')\"
echo \"$(echo "$foo" | $bb tr -d '0-9a-zA-Z')\"
echo \"$(echo "$foo" | $bb tr -d "[:alnum:]")\"
returns the expected result: " ". But running the same with bb tr
(uncommented bb):
BusyBox v1.13.4 (2009-05-05 15:10:24 CEST) multi-call binary
returns:
""
" "
"bc 123"
Does anyone else see this behaviour?
tr from trunk bb gets things right.
Cheers,
--
Cristian
More information about the busybox
mailing list