[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18750: --line-buffered option doesn't work with --files-with-matches
From: |
Jim Meyering |
Subject: |
bug#18750: --line-buffered option doesn't work with --files-with-matches |
Date: |
Sat, 18 Oct 2014 16:11:01 -0700 |
On Fri, Oct 17, 2014 at 9:01 PM, Norihiro Tanaka <address@hidden> wrote:
> If remove fflush() as the previous patch, unexpected result will be
> caused in grep -Z. I fixed it.
Thanks, but as a stand-alone patch, that makes grep fail to compile,
because there is one remaining use of the variable whose declaration
is removed.
In any case, there is some ambiguity in the documentation
about what "line" buffering means with -Z. With -l and -Z, should
grep --line-buffered flush after printing each <file_name, NUL> pair?
That's what I'd expect.