title: How to replace first occurrence with sed?
body: <p>I have file with many name: I want to replace only the first one</p>
  
  <pre><code>sed -i "s/\(name:\).*/\1 ${NEW_VALUE}/" ./myFile
  
  Input
  -  martin:
      name: Martin D'vloper
      job: Developer
      skills:
        - python
        - perl
        - pascal
  -  tabitha:
      name: Tabitha Bitumen
      job: Developer
      skills:
        - lisp
        - fortran
        - erlang
  </code></pre>
  
  <p>output to change only the first name  Martin D'vloper</p>
  
  <pre><code>-  martin:
          name: NEW VALUE!!!
          job: Developer
          skills:
            - python
            - perl
            - pascal
      -  tabitha:
          name: Tabitha Bitumen
          job: Developer
          skills:
            - lisp
            - fortran
            - erlang
  </code></pre>
  
  <p>It changed all names</p>
  
  <p>I saw something with different syntax </p>
  
  <pre><code>sed '0,/pattern/s/pattern/replacement/' filename
  </code></pre>
  
  <p>but I can't change sed to this because the dynamic value 
  Could you advise me how to replace only the first one with my syntax ? </p>