Hi List,
i was traceing a bug and found that tr (bb 13.0) seems to have a bug:


echo "19AFH" |./tr -cd "[0-9]"
19

 echo "19AFH" |./tr -cd "[0-9A-F]"
bash: echo: write error: Datenübergabe unterbrochen (broken pipe)

./tr -cd "[0-9A-F]" <xx
echo $?
1

reading from a file seems to indicate an error ?

(echo "19AFH" |./tr -cd "[0-9A-F]" works fine with gnu tr)


btw: my first version was  echo "19AFH" |./tr -cd "[:xdigit:]" what simply eats 
anything.


re,
 wh

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to