title: With bash, how can I pipe standard error into another process?
body: <p>It's well known how to pipe the standard ouput of a process into another processes standard input:</p>
  
  <pre><code>proc1 | proc2
  </code></pre>
  
  <p>But what if I want to send the standard error of proc1 to proc2 and leave the standard output going to its current location? You would think <code>bash</code> would have a command along the lines of:</p>
  
  <pre><code>proc1 2| proc2
  </code></pre>
  
  <p>But, alas, no. Is there any way to do this?</p>