grep: bug or feature ?
Andreas Wehrmann
a.wehrmann at centersystems.com
Thu Feb 19 15:31:01 UTC 2009
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
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a_wehrmann.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090219/69f203bf/attachment.vcf>
More information about the busybox
mailing list