Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
There is the terminal command unbuffer in Linux Redhat, for instance.
I did not find it in homebrew.
How can you install unbuffer in OSX Yosemite 10.10.3?
unbuffer is part of the expect package:
brew install homebrew/dupes/expect
You may need to:
brew tap homebrew/dupes/expect
Before you can install it.
UPDATE: As of 2018 expect is available without prefix in homebrew, thus:
brew install expect
is all that is necessary.
unbuffer ./run-math-tests.sh | tee results.txt