title: Print line after matching a regex pattern
body: <p>I am new to awk and am stuck on this problem. Basically I am searching for a pattern and I want to separate each match with a "--" so I can easily use a yaml library in ruby to parse out file</p>
  
  <pre><code>awk '/(start)/,/(end)/' #awk command I am doing
  </code></pre>
  
  <p><strong>What I get:</strong></p>
  
  <pre><code>start
  foo
  bar
  end
  start
  foo2
  bar2
  end
  start
  foo3
  bar3
  end
  </code></pre>
  
  <p><strong>What I want:</strong> </p>
  
  <pre><code>start
  foo
  bar
  end
  --
  start
  foo2
  bar2
  end
  --
  start
  foo3
  bar3
  end
  </code></pre>
  
  <p>Any ideas?</p>