[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: bug in tr ?
From: walter harms <wharms () bfs ! de>
Date: 2009-02-20 15:06:30
Message-ID: 499EC6F6.9040702 () bfs ! de
[Download RAW message or body]
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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic