ntpq needs a push after each line

Eric S. Raymond esr at thyrsus.com
Mon Nov 7 22:52:42 UTC 2016


Achim Gratz <Stromeko at nexgo.de>:
> Hal Murray writes:
> > or you can't see anything if you use tee.
> >
> > I assume the python default is line buffered when sysout is a terminal but 
> > not if it's a pipe.
> 
> Yes, but running the command in question with
> 
> stdbuf -oL …
> 
> should make it line-buffered anyway.

I think that is an unreasonable hoop to expect people to jump through.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list