Help wanted: unbuffer, or stdbuf

Brandon Allbery allbery.b at
Tue Jan 31 04:38:08 UTC 2017

On Mon, Jan 30, 2017 at 11:27 PM, Michael <keybounce at> wrote:

> So I wanted to linebuffer a program that is feeding into a pipe.
> Looking around with Google, I found two solutions:
> 1, unbuffer, from expect, or
> 2, stdbuf, from the gnu core utils.
> I've got expect 5.45. I've got core utils. I don't seem to have either.

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

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