The problem is that we try to emulate desktop grep behavior. So the questions remains: is this intended ?
re, wh Andreas Wehrmann schrieb: > 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 >> _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
