История изменений
Исправление crutch_master, (текущая версия) :
https://stackoverflow.com/questions/60942/how-can-i-send-the-stdout-of-one-pr...
Usually you would use tee to redirect output to multiple files, but using >(...) you can redirect to another process. So, in general,
$ proc1 | tee >(proc2) ... >(procN-1) >(procN) >/dev/null
Например
$ echo 123 | tee >(tr 1 a) >(tr 1 b)
123
a23
b23
Исходная версия crutch_master, :
https://stackoverflow.com/questions/60942/how-can-i-send-the-stdout-of-one-pr...
Usually you would use tee to redirect output to multiple files, but using >(...) you can redirect to another process. So, in general,
$ proc1 | tee >(proc2) ... >(procN-1) >(procN) >/dev/null