freebsd-nq/usr.bin/grep
Ed Maste e2127de812 bsdgrep: don't ouptut matches with -c, -l, -L
Refactoring done in r317703 broke -c, -l, and -L flags implying
suppression of match printing.  Fortunately this is just a matter of not
doing any printing of the resulting matches and context printing was not
broken in this refactoring.

Add some regression tests since this area may still see further
refactoring, include different context flags as well even though they
were not broken in this case.

PR:		219077
Submitted by:	Kyle kevans91@ksu.edu
Reported by:	markj
Reviewed by:	cem, ngie
Differential Revision:	https://reviews.freebsd.org/D10607
2017-05-05 17:35:05 +00:00
..
nls bsdgrep: correct nls usage data after r317049 2017-05-02 13:47:15 +00:00
regex bsdgrep: fix escape map building for multibyte strings 2017-05-02 20:44:06 +00:00
tests bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
file.c bsdgrep: add -z/--null-data support 2017-04-17 13:14:18 +00:00
grep.1 bsdgrep: add -z/--null-data support 2017-04-17 13:14:18 +00:00
grep.c bsdgrep: avoid use of magic number for REG_NOSPEC 2017-05-02 21:08:38 +00:00
grep.h bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
Makefile bsdgrep: Add GNU compatible version string indicator 2017-05-02 13:38:20 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
queue.c bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
util.c bsdgrep: don't ouptut matches with -c, -l, -L 2017-05-05 17:35:05 +00:00