title: Extract Title of a html file using grep
body: <pre><code>cat 1.html | grep "&lt;title&gt;" &gt; title.txt  
  </code></pre>
  
  <p>This grep statement is not working.</p>
  
  <p>Please tell the best way to grab the title of a page using grep or sed.</p>
  
  <p>Thanks.</p>