title: Find in log file everything between a certain date to other date
body: <p>I have a log file which looks like this:</p>
  
  <pre><code>01/09/18 07:04:37.020   ********
  
  01/09/18 07:04:37.020   ********
  
  01/09/18 07:04:37.020   ********
  
  01/09/18 07:04:37.020   ********
  
  01/09/18 07:04:37.020   ********
  
  01/09/18 07:04:37.020   ********
  </code></pre>
  
  <p>I need to print all lines between for <code>01/08/18 22:53:28</code> till <code>01/08/18 23:12:19</code>, an important note is that these dates don't have to exist in my log file.</p>
  
  <p>What I tried are the following things but they didn't work:</p>
  
  <pre><code>awk -F'[]]|[[]' \ '$0 ~ /^\[/ &amp;&amp; $2 &gt;= "01/08/18 22:53:28" { p=1 }  $0 ~ /^\[/ &amp;&amp; $2 &gt;= "01/08/18 23:12:19" { p=0 } p { print $0 }' manager.log.6.gz
  </code></pre>
  
  <p>and command with sed</p>