Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14648

Re: bash sockets: printf \x0a does TCP fragmentation

From Bob Proulx <bob@proulx.com>
Newsgroups gnu.bash.bug
Subject Re: bash sockets: printf \x0a does TCP fragmentation
Date 2018-09-23 12:46 -0600
Message-ID <mailman.1183.1537728430.1284.bug-bash@gnu.org> (permalink)
References (1 earlier) <20180921231101307758654@bob.proulx.com> <714e1ba0-0052-2f2b-676d-778f2b7129c1@testssl.sh> <20180922111950901701520@bob.proulx.com> <948d4864-8808-9ce4-cc1e-2cce68256897@case.edu> <20180923122957986978110@bob.proulx.com>

Show all headers | View raw


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?

Bob

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: bash sockets: printf \x0a does TCP fragmentation Bob Proulx <bob@proulx.com> - 2018-09-23 12:46 -0600

csiph-web