title: sed to add xml line after matching pattern
body: <p>i have to add </p>
  
  <pre><code>&lt;configuration&gt;
        &lt;jsp-configuration
         display-source-fragment="false"
         x-powered-by="false"/&gt;
      &lt;/configuration&gt;
  </code></pre>
  
  <p>after matching this pattern line</p>
  
  <pre><code> &lt;connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/&gt;
  </code></pre>
  
  <p>how i can achieve this using sed command i tried some what like this</p>
  
  <pre><code>sed '/connector name="http" protocol="HTTP\/1.1" scheme="http" socket-binding="http"/a\ \&lt;configuration&gt;\n\&lt;jsp-configuration display-source-fragment="false" x-powered-by="false"/&gt;\n\&lt;/configuration&gt; abc.xml
  </code></pre>