Output to stderr instead which is unbuffered by default, but this is a bit of an ugly hack. Changing a program to flush as needed or not buffer is practical when you are the author, but it’s a bit more problematic when you just want to run an existing program without Unix buffering getting in your way.
