CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2022/05/30 10:07:28

Modified files:
        usr.bin/grep   : util.c 

Log message:
grep(1): print full context when using match count

When using the match count flag (-m), grep was not printing the
context after the match if the -A or -C flags were provided.

This changes the logic to continue printing lines after hitting the
match count.

ok op@, millert@

Reply via email to