Categories
October Surprise 2024

Unix buffering delays output to stdout, ruins your day

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.