title: XML parsing with shell script
body: <p>I am having issues while I am trying to get some data from the text filed of the xml tag.</p>
  
  <p>This filed is repeated many times in the xml.</p>
  
  <pre><code>&lt;abc&gt;
  &lt;def&gt;
  &lt;gh tag="ext" text="1. look
  2. for 
  3. this 
  4. if
  5. what"&gt;
  &lt;/gh&gt;
  &lt;/def&gt;
  &lt;/abc&gt;
  </code></pre>
  
  <p>What I have done is to grep the pattern and loop till the <code>"&gt;</code> reached. But I am also getting some other data also. Can someone please help me with that or show me the direction. I tried perl but XML library where missing.</p>