title: how to grep by date time range?
body: <p>I have a log file looks like:</p>
  
  <pre><code>2011-03-21 00:01 xxxx
  2011-03-22 04:05 xxxx
  ....
  2011-03-25 10:12 xxxx
  ....
  2011-04-04 12:23 xxxx
  </code></pre>
  
  <p>I want to have a script which requires 2 arguments as the date range, for example:</p>
  
  <pre><code>grep-date-range.sh 2011-03-25 2011-04-02
  </code></pre>
  
  <p>It will find all logs in [2011-03-25, 2011-04-02]. I know for a specific case i can use wildcard, but it's not general in my opinion. Could someone give me a solution?</p>
  
  <p><strong>EDIT:</strong> 
  Python script is also acceptable.</p>