tee to a file descriptor

tee to a file descriptor $ tee >(cat – >&2) the tee command does fine with file names, but not…

Continue Reading →

Pipe stdout and stderr, etc., to separate commands

$ some_command > >(/bin/cmd_for_stdout) 2> >(/bin/cmd_for_stderr) You can use [n]> combined with >(cmd) to attach the various output file descriptors…

Continue Reading →