opnsense-src/usr.bin/grep/tests
Kyle Evans e898a3af97 grep: properly switch EOL indicator with -z
-z is supposed to use only the NUL byte as EOL, but we were
inadvertently using both newline and NUL due to REG_NEWLINE in cflags.

The odds of anyone relying on this bsdgrep-specific bug are quite low,
so let's just fix it.  At least one port in the wild has been reported
to expect the intended behavior.

Reported by:	Hill Ma <maahiuzeon@gmail.com>
Triaged by:	the self-proclaimed peanut gallery on Discord
2023-01-03 23:37:54 -06:00
..
grep_freebsd_test.sh grep: properly switch EOL indicator with -z 2023-01-03 23:37:54 -06:00
Makefile bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00