GNU bug report logs - #21908
find -f breaks pipes ?

Previous Next

Package: coreutils;

Reported by: Flemming Gulager Danielsen <fgd <at> komplex-it.dk>

Date: Fri, 13 Nov 2015 16:07:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>, Flemming Gulager Danielsen <fgd <at> komplex-it.dk>, 21908 <at> debbugs.gnu.org
Subject: bug#21908: find -f breaks pipes ?
Date: Sat, 14 Nov 2015 10:29:26 +0100
On 11/13/2015 06:17 PM, Pádraig Brady wrote:
> You can change the buffering with stdbuf. For e.g.:
> 
>   tail -f testfile | stdbuf -oL tr -d H | grep e

Additionally, depending on whether you furtherly process the output,
e.g. with yet another "| grep .", you see that grep also uses some
output buffering, so you may end up with:

 tail -f testfile \
   | stdbuf -oL tr -d H \
   | grep --line-buffered e \
   | grep .

Have a nice day,
Berny




This bug report was last modified 6 years and 206 days ago.

Previous Next


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