Help wanted: unbuffer, or stdbuf

Michael keybounce at gmail.com
Tue Jan 31 05:47:28 UTC 2017


On 2017-01-30, at 9:44 PM, Brandon Allbery <allbery.b at gmail.com> wrote:

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

Script is doing what I want, thank you!

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

Nope, /usr/bin. Which package installs script?

> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

---
Entertaining minecraft videos
http://YouTube.com/keybounce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170130/d9b4348e/attachment.html>


More information about the macports-users mailing list