The existing tests cover -Z with -l, but not with normal matching output.
When running:
grep should place a NUL byte between the filename and the matched line.
I verified this behavior in both uutils grep and GNU grep 3.12 and prepared a small test-only change.
Would this test coverage be useful ?
The existing tests cover
-Zwith-l, but not with normal matching output.When running:
grep should place a NUL byte between the filename and the matched line.
I verified this behavior in both uutils grep and GNU grep 3.12 and prepared a small test-only change.
Would this test coverage be useful ?