Help wanted: unbuffer, or stdbuf

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


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

> 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 | ...

or

    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 gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170131/bc9c5984/attachment.html>


More information about the macports-users mailing list