I\'m working with a command line utility that requires passing the name of a file to write output to, e.g.
foo -o output.txt
The only thing
I use /dev/tty as the output filename, equivalent to using /dev/nul/ when you want to output nothing at all. Then | and you are done.