title: Grep only the first match and stop
body: <p>I'm searching a directory recursively using grep with the following arguments hoping to only return the first match. Unfortunately, it returns more than one -- in-fact two the last time I looked. It seems like I have too many arguments, especially without getting the  desired outcome. :-/</p>
  
  <pre><code># grep -o -a -m 1 -h -r "Pulsanti Operietur" /path/to/directory
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>Pulsanti Operietur
  Pulsanti Operietur
  </code></pre>
  
  <p>Maybe grep isn't the best way to do this? You tell me, thanks very much.</p>