tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Buffering in standard streams



On Fri, May 22, 2015 at 08:37:59AM +0200, Martin Husemann wrote:
> On Fri, May 22, 2015 at 12:45:22AM +0200, Joerg Sonnenberger wrote:
> > > I would use a syntax like:
> > > 
> > > 	STDBUF=4096:line:1024
> > > 
> > > to mean
> > > 
> > > 	stdin, 4K
> > > 	stdout, line buffered
> > > 	stderr, 1K
> > 
> > I fully agree on this part.
> 
> If there is a real need for this, I would expect a "controll command" to
> be a shell builtin.

But the shell doesn't control buffering of tools.

Joerg


Home | Main Index | Thread Index | Old Index