Help wanted: unbuffer, or stdbuf

Brandon Allbery allbery.b at
Tue Jan 31 05:44:46 UTC 2017

On Mon, Jan 30, 2017 at 11:38 PM, Brandon Allbery <allbery.b at>

> Both of these programs rely on APIs that only exist in GNU glibc, not BSD
> libc or OS X libSystem.

There are sometimes hacky ways around this.

    ssh -tt localhost the_command_that_buffers here | ...


    script -a /dev/null the_command_that_buffers_here | ... # this one may
end up buffering via scrip(1) though; test!

(beware if you have installed a version of script(1) via macports, its
usage may differ!)

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list