title: How to extract text by date range?
body: <p>I am trying to extract text from a file according a given date range. The date range will be decided by the user but here I am just using a fixed range.</p>
  
  <p>File content after using <code>grep</code> are as follows:</p>
  
  <pre><code>ronnie@ronnie:~$ zgrep added new.txt
  Jul 02 21:03 : update: added Linkin Park/Living Things(2012)/02 - Linkin Park - In My Remains.mp3
  Jul 02 21:03 : update: added Linkin Park/Living Things(2012)/03 - Linkin Park - Burn It Down.mp3
  Jul 07 10:33 : update: added Linkin Park/Living Things(2012)/04 - Linkin Park - Lies Greed Misery.mp3    
  Jul 09 07:54 : update: added Linkin Park/Living Things(2012)/04 - Linkin Park - Lies Greed Misery.mp3
  </code></pre>
  
  <p>Now, lets suppose I want to extract the text between date <code>Jul 07</code> and <code>Jul 09</code>. So  I used the below command for that </p>
  
  <pre><code>zgrep added new.txt | sed '/"Jul 09"/,/"Jul 07"/p'
  </code></pre>
  
  <p>which gave me the following output</p>
  
  <pre><code>Jul 02 21:03 : update: added Linkin Park/Living Things(2012)/02 - Linkin Park - In My Remains.mp3
  Jul 02 21:03 : update: added Linkin Park/Living Things(2012)/03 - Linkin Park - Burn It Down.mp3
  Jul 07 10:33 : update: added Linkin Park/Living Things(2012)/04 - Linkin Park - Lies Greed Misery.mp3
  Jul 09 07:54 : update: added Linkin Park/Living Things(2012)/04 - Linkin Park - Lies Greed Misery.mp3
  </code></pre>
  
  <p>So, as you can see it didn't considered the <code>range</code> i gave to sed.</p>
  
  <p>My question is what should be the correct way to extract text according to a date range.</p>