title: Using paste with Parentheses in Makefile
body: <p>I'm having problems when using <code>paste</code> with parentheses inside Makefile.</p>
  
  <p>The instruction  I'm trying to run is:</p>
  
  <pre><code>paste -d " " &lt;(cat file1) &lt;(cat file2 | grep "pattern")
  </code></pre>
  
  <p>If I run it from the console it works correctly, however when putting it inside a Makefile the parenthesis causes a syntax error:</p>
  
  <pre><code>/bin/sh: -c: line 0: syntax error near unexpected token `('
  </code></pre>
  
  <p>Basically what I need is to paste the contents of two (or more) files but filtering some of them with grep.</p>