Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Process substitution, the other way around #1786
Precision, an example of what I need:
That doesn't work at all... Or maybe I'm doing it wrong.
yeah, the problem is pointed on the
Waiting for that feature :)
referenced this issue
Jul 26, 2017
How do we deal with pipes inside process substitution?
seq 15 | tee >(rev | tac > out1) >(shuf > out2 2> err2)
seq 15 | tee (pipe (psub rev) (psub tac) > out1) (pipe (psub shuf) > out2 ^ err2)
Though, that's a lot of parentheses and a lot of extra words.
seq 15 | tee (pipe (psub rev) (psub -o out1 -- tac)) (psub -o out2 -e err2 -- shuf)