[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: enable buffering on null-terminated data
From: |
Kaz Kylheku |
Subject: |
Re: RFE: enable buffering on null-terminated data |
Date: |
Mon, 18 Mar 2024 22:24:25 -0700 |
User-agent: |
Roundcube Webmail/1.4.15 |
On 2024-03-17 17:12, Zachary Santer wrote:
> On Thu, Mar 14, 2024 at 11:14 AM Carl Edquist <edquist@cs.wisc.edu> wrote:
>
>> Where things get sloppy is if you add some stuff in a pipeline after your
>> build script, which results in things getting block-buffered along the
>> way:
>>
>> $ ./build.sh | sed s/what/ever/ | tee build.log
>>
>> And there you will definitely see a difference.
>
> Sadly, the man page for stdbuf specifically calls out tee as being
> unaffected by stdbuf, because it adjusts the buffering of its standard
> streams itself. The script I mentioned pipes everything through tee,
> and I don't think I'm willing to refactor it not to. Ah well.
But what tee does is set up _IONBF on its output streams,
including stdout.
- stdbuf feature request - line buffering but for null-terminated data, Zachary Santer, 2024/03/09
- Re: stdbuf feature request - line buffering but for null-terminated data, Pádraig Brady, 2024/03/10
- RFE: enable buffering on null-terminated data, Zachary Santer, 2024/03/10
- Re: RFE: enable buffering on null-terminated data, Carl Edquist, 2024/03/10
- Re: RFE: enable buffering on null-terminated data, Zachary Santer, 2024/03/10
- Re: RFE: enable buffering on null-terminated data, Carl Edquist, 2024/03/11
- Re: RFE: enable buffering on null-terminated data, Zachary Santer, 2024/03/11
- Re: RFE: enable buffering on null-terminated data, Carl Edquist, 2024/03/14
- Re: RFE: enable buffering on null-terminated data, Zachary Santer, 2024/03/17
- Re: RFE: enable buffering on null-terminated data,
Kaz Kylheku <=
- Re: RFE: enable buffering on null-terminated data, Zachary Santer, 2024/03/19
- Re: RFE: enable buffering on null-terminated data, Carl Edquist, 2024/03/20
Re: stdbuf feature request - line buffering but for null-terminated data, Kaz Kylheku, 2024/03/12
Re: stdbuf feature request - line buffering but for null-terminated data, Kaz Kylheku, 2024/03/12