title: unix: how to concatenate files matched in grep
body: <p>I want to concatenate the files whose name does not include "_BASE_". I thought it would be somewhere along the lines of ...</p>
  
  <pre><code>ls | grep -v _BASE_ | cat &gt; all.txt
  </code></pre>
  
  <p>the cat part is what I am not getting right. Can anybody give me some idea about this?</p>