freebsd-dev/usr.bin/grep
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
..
nls
regex bsdgrep(1): Fix errors with invalid expressions 2017-04-04 17:05:37 +00:00
tests bsdgrep: for -r, use the working directory if none specified 2017-04-17 13:22:39 +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: for -r, use the working directory if none specified 2017-04-17 13:22:39 +00:00
grep.h bsdgrep: add -z/--null-data support 2017-04-17 13:14:18 +00:00
Makefile bsdgrep(1): Rip out "xmalloc" bits 2017-04-04 16:08:51 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
queue.c
util.c bsdgrep: fix zero-length matches without the -o flag 2017-04-17 14:59:55 +00:00