title: bash loop between two given dates
body: <p>I'm trying to create a script that will loop through files that have their filenames written in the following format:  yyyymmdd.hh.filename.</p>
  
  <p>The script is called with:</p>
  
  <pre><code>./loopscript.sh 20091026.00 23
  ./loopscript.sh 20091026.11 15
  ./loopscript.sh 20091026.09 20091027.17
  </code></pre>
  
  <p>The need is for the script to check each hour between those two given dates/hours.  </p>
  
  <p>e.g. </p>
  
  <pre><code>cat 20091026.00.filename |more
  cat 20091026.01.filename |more
  ...
  cat 20091026.23.filename |more
  cat 20091027.01.filename |more
  cat 20091027.02.filename |more
  ...
  </code></pre>
  
  <p>and so on.</p>
  
  <p>any idea how to go about this?  I don't have any difficulty with standard 0 - x loops. or simple for loops.  Just not sure how to go about the above.</p>