[Toybox] incorrect output from grep -w --color

Peter Collingbourne pcc at google.com
Wed Jan 17 13:16:41 PST 2024


Happened to notice this today:

$ echo ab a | ./toybox grep -w a
ab a
$ echo ab a | ./toybox grep -w --color a
b a

Reproduces on current master branch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240117/b07dbdec/attachment.htm>

More information about the Toybox mailing list