I have a script which calls two commands:
long_running_command | print_progress
long_running_command prints a progress but I'm unhappy with it. I'm using
print_progress to make it more nice (namely, I print the progress in a single line).
The problem: Connection a pipe to stdout also activates a 4K buffer, to the nice print program gets nothing ... nothing ... nothing ... a whole lot ... :)
How can I disable the 4K buffer for the
long_running_command (no, I don't have the source)?