4
some_source | (tee /dev/stderr | sink_1) 2>&1 | sink_2

Seems to fail.

How to do it right without of any temporaries?

Vi.
  • 17,755

1 Answers1

5
some_source | tee >(sink_1) | sink_2

>( ) is process substitution.

grawity
  • 501,077