title: How to get first match with sed?
body: <p>I am tired of this sed :D So I have a small file:</p>
  
  <pre><code>version = "1.1"
  group= "com.centurion.eye"
  archivesBaseName = "eye"
  
  impmet {
      version = "4.1614"
      runDir = "eclipse"
  }
  </code></pre>
  
  <p>And here is my sed command:</p>
  
  <pre><code>sed -n -e '/version/ s/.* = *//p' "build.gradle"
  </code></pre>
  
  <p>And I need to get ONLY version 1.1. So when I execute this command, the output is:</p>
  
  <pre><code>"1.3"
  "4.1614"
  </code></pre>
  
  <p>But desired one is:</p>
  
  <pre><code>"1.3"
  </code></pre>
  
  <p>How can I achieve that? Thanks!</p>