title: pipe stdout and stderr to two different processes in shell script?
body: <p>I've a pipline doing just </p>
  
  <pre><code> command1 | command2
  </code></pre>
  
  <p>So, stdout of command1 goes to command2 , while stderr of command1 go to the terminal (or wherever stdout of the shell is). </p>
  
  <p>How can I pipe stderr of command1 to a third process (<code>command3</code>) while stdout is still going to command2 ?</p>