[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21908: find -f breaks pipes ?
From: |
Bernhard Voelker |
Subject: |
bug#21908: find -f breaks pipes ? |
Date: |
Sat, 14 Nov 2015 10:29:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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