title: unix: looping through results of find command
body: <p>I have a find command that outputs as I would like (it looks for files with strelka in the name and ends with .vcf):</p>
  
  <blockquote>
    <blockquote>
      <p>find . -name *strelka* | grep '.vcf$'</p>
    </blockquote>
  </blockquote>
  
  <p>But I want to then iterate over each and perform additional stuff. </p>
  
  <p>To simply experiment, I'm just having it do a line count on each file (but ultimately I would want to do more in the end, this is just me playing around), but it already doesn't seem to work.</p>
  
  <p>I have :</p>
  
  <blockquote>
    <blockquote>
      <p>for i in <code>find . -name \*strelka\* | grep '.vcf$'</code>; do wc -l $i; done </p>
    </blockquote>
  </blockquote>
  
  <p>Anyone know what is wrong with this?</p>