title: get last line from grep search on multiple files
body: <p>I'm curently having some problem with a grep command.</p>
  
  <p>I've found the way to only show the last line of a grep search : </p>
  
  <pre><code>grep PATERN FILE_NAME | tail -1
  </code></pre>
  
  <p>I also find the way to make a grep search in multiple selected files :</p>
  
  <pre><code>find . -name "FILE_NAME" | xargs -I name grep PATERN name
  </code></pre>
  
  <p>Now I would like to only get the last line of the grep result for each single file.
  I tried this : </p>
  
  <pre><code> find . -name "FILE_NAME" | xargs -I name grep PATERN name | tail -1
  </code></pre>
  
  <p>This returns me only the last value of the last file where I would like to have the last matching patern for every file.</p>