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-15 01:44:45 +00:00
2017-03-02 01:14:48 +00:00
2017-04-03 12:26:20 +00:00
2017-02-19 17:37:16 +00:00
2017-02-28 23:42:47 +00:00
2017-02-19 17:46:37 +00:00
2017-02-06 08:49:57 +00:00
2017-03-23 22:06:06 +00:00
2017-03-16 21:32:05 +00:00
2017-02-28 23:42:47 +00:00
2017-03-25 14:14:11 +00:00
2017-02-28 23:42:47 +00:00
2017-03-27 21:00:49 +00:00