title: How to print text between two line numbers into a new file in UNIX
body: <p>I have a file like this (numbers on first column is line number)</p>
  
  <pre><code>30.&lt;unit id=20&gt;
  31....
  32.&lt;/unit&gt;
  33.&lt;unit id=40?
  34....
  35.&lt;/unit&gt;
  36&lt;unit id=20&gt;
  37...
  38.&lt;/unit&gt;
  39.&lt;unit id=40?
  40....
  41&lt;/unit&gt;
  </code></pre>
  
  <p>I want to print lines between two line numbers, say 32 and 39. How can I accomplish this in Unix?<br>
  I'm new to unix. 
  Note: I don't want perl scripts please. </p>