Is there a way to run shell commands without output buffering?
For example, hexdump file | ./my_script will only pass input from hexdump to my_script in
hexdump file | ./my_script
The command unbuffer from the expect package disables the output buffering: Ubuntu Manpage: unbuffer - unbuffer output
unbuffer
expect
Example usage:
unbuffer hexdump file | ./my_script