Redirect output to multiple processes
November 8th, 2006 toydi
Since tee can read the standard input, and write to multiple files, we may leverage this feature so that it writes to multiple processes (instead of files).
tee >(process1) >(process2) >(process3) | process4
>( ) (see process substitution) pretends itself as a write-only file. Everything you write into it, will be passed to the command (as standard [...]
Posted in Common, grep, process substitution, tee | Hits: 23439 | 26 Comments »
Live Chat!








