title: Using sed to delete multiple lines after match from second occurrence onwards
body: <p>sample.txt file:</p>
  <pre><code>template one
  blah blah
  blah blah
  end
  </code></pre>
  <p>The sample file contains many same templates like this one and i'm using sed to delete all the replicas except the first one</p>
  <pre><code>system (&quot;sed -ie '/template one/,+717d' $file&quot;);
  </code></pre>
  <p>can someone suggest how can I skip the first match</p>