Ed Maste e06ffa3230 bsdgrep: fix zero-length matches without the -o flag
r316477 broke zero-length matches when not using the -o flag, by
skipping over them entirely.

Add a regression test so that it doesn't break again in the future.

Submitted by:	Kyle Evans <kevans91 at ksu.edu>
Reviewed by:	cem emaste ngie
Differential Revision:	https://reviews.freebsd.org/D10333
2017-04-17 14:59:55 +00:00
..
2017-04-17 13:14:18 +00:00
2017-04-17 13:14:18 +00:00
2017-04-17 13:14:18 +00:00
2017-04-04 16:08:51 +00:00
2015-06-16 23:37:19 +00:00
2014-07-17 15:59:13 +00:00