Actually, the complain is correct because big letters come before small ones (according to ASCII), therefore

> ./busybox grep "[A-z]" /etc/hosts

would be correct.
However, I cannot confirm the loop working, it cancels with the same error here...

Regards,
Andreas Wehrmann


walter harms wrote:
Hi list,
i was porting a script to an embedded box with bb and found the
following effect:

./busybox grep "[a-Z]" /etc/hosts
grep: bad regex '[a-Z]': Invalid range end

while
 grep "[a-Z]" /etc/hosts

works with no problem.

bug or feature ?


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

begin:vcard
fn:Andreas Wehrmann
n:Wehrmann;Andreas
org:Centersystems GmbH;Software Development
adr:;;Ignaz-Koeck-Str. 19;Vienna;Vienna;1210;Austria
email;internet:[email protected]
title:Cand. Ing.
tel;work:+43 (0)1 90 199-3616
tel;cell:+43 (0)650 390 9183
x-mozilla-html:FALSE
url:http://www.centersystems.com
version:2.1
end:vcard

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

Reply via email to