title: sed is deleting multiple lines when start and end pattern is mentioned
body: <p>I have a xml file emp.xml</p>
  
  <pre><code>&lt;?xml&gt;
  &lt;employee name="abc"&gt;ABC&lt;/employee&gt;
  &lt;employee name="def"&gt;DEF&lt;/employee&gt;
  &lt;!-- abc@gmail.com
  this comment is added
  to &lt;employee name="gh"&gt;
  &lt;/employee&gt;
  --&gt;
  
  ?&gt; 
  </code></pre>
  
  <p>I want to delete some employee details from this file. Employee details to be deleted are mentioned in other file delemp.txt
  abc
  gh</p>
  
  <pre><code>while read line
  do 
  i=\"$line\"
  echo $i
  find . -name "emp.xml" -type f | xargs sed -i -e '/employee name='$i'/,/&lt;\/employee&gt;/d'
  
  done &lt; delemp.txt
  </code></pre>
  
  <p>I am reading delemp.txt and getting employee details to be deleted and searching for employee name= and employee end tag but this code is not working</p>
  
  <p>Even if I try </p>
  
  <pre><code>sed -i '/employee name=\"abc\"/,/&lt;\/employee&gt;/d' emp.xml
  </code></pre>
  
  <p>It is deleting first 2 lines i.e name="abc" and "def"</p>