问题
I would like to redirect the output of two programs to a single STDIN pipe, possibly in the most efficient way possible.
Is that possible?
回答1:
Yes.
{ command1 ; command2 ; } | command3
来源:https://stackoverflow.com/questions/26948350/redirect-two-or-more-stdout-to-a-single-stdin