title: grep only one occurrence
body: <p>I am trying to grab some content, but there are multiple instances of it in the same line. I am using this command. </p>
  
  <pre><code>grep -o -m 1 -P '(?&lt;=sk).*(?=fa)' test.txt | head -1
  </code></pre>
  
  <p>However, the search ends after the second/last match. Running it on Ubuntu 14.04.2</p>
  
  <pre><code>test.txt: skjahfasdkl aklsdj laks skjahfasdkl aklsdj laks
  Current Output: jahfasdkl aklsdj laks skjah
  Desired output: jah
  </code></pre>