GNU bug report logs - #18750
--line-buffered option doesn't work with --files-with-matches

Previous Next

Package: grep;

Reported by: "Louis S." <sautier.louis <at> gmail.com>

Date: Thu, 16 Oct 2014 21:22:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: "Louis S." <sautier.louis <at> gmail.com>
Cc: 18750 <at> debbugs.gnu.org
Subject: bug#18750: --line-buffered option doesn't work with --files-with-matches
Date: Fri, 17 Oct 2014 22:30:44 +0900
[Message part 1 (text/plain, inline)]
"Louis S." <sautier.louis <at> gmail.com> wrote:
> Hi, I'm not quite sure this is a bug but it appears that the
> --line-buffered option has no effect when used in conjunction with
> --files-with-matches.
> Here are some tests I ran with grep 2.20:
> 
> Please let me know if line-buffering is supposed to work in that case.

I see that it's designed, but I think that it's reasonable that output
of file names is also line buffered in grep --line-buffered.
[0001-grep-line-buffered-for-output-of-file-names-in-grep-.patch (text/plain, attachment)]

This bug report was last modified 9 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.