[Toybox] [PATCH] grep: Make --color highlight all matches on a line.

Peter Collingbourne pcc at google.com
Tue Sep 21 11:54:03 PDT 2021


This matches the behavior of GNU grep.
---
 tests/grep.test   | 2 ++
 toys/posix/grep.c | 5 ++---
 2 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-grep-Make-color-highlight-all-matches-on-a-line.patch
Type: text/x-patch
Size: 1740 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210921/4ac3a9ff/attachment-0002.bin>


More information about the Toybox mailing list