[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash sockets: printf \x0a does TCP fragmentation
From: |
Chet Ramey |
Subject: |
Re: bash sockets: printf \x0a does TCP fragmentation |
Date: |
Sun, 23 Sep 2018 15:15:46 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 9/23/18 2:46 PM, Bob Proulx wrote:
> Chet Ramey wrote:
>> It's that bash sets stdout and stderr to be line-buffered, not anything
>> printf-specific.
>
> Shouldn't bash set stdout buffering based upon the output descriptor
> being a tty or not the same as other libc stdio behavior?
It's been so long (25+ years) I forget why we did it.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: bash sockets: printf \x0a does TCP fragmentation, (continued)
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, Chet Ramey, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation,
Chet Ramey <=
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Chet Ramey, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Greg Wooledge, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Robert Elz, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Robert Elz, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Greg Wooledge, 2018/09/24
- Re: bash sockets: printf \x0a does TCP fragmentation, L A Walsh, 2018/09/25