title: Read csv file and compare to today's date
body: <p>I want to read the <code>holiday.csv</code> file and compare the dates in that file to today's date in order to determine if today is a holiday.</p>
  
  <p>Here is what I have thus far...</p>
  
  <p>file=holiday.csv</p>
  
  <p>date,holiday name,US Holiday ie:</p>
  
  <pre><code>Dec 25,Christmas,US Holiday  
  Jan 1,New Year,US Holiday  
  Jan 19,Martin Luther King,US Holiday
  </code></pre>
  
  <p>Pseudo code:</p>
  
  <pre><code>package require csv
  proc mktopen {min hour day month weekday} {
  global stockchan
      if {get date's from holiday.csv and compare to today's date if TRUE then} {
          putserv "privmsg #channel :\0030,4 09:30ET\0030,12 ((( US MARKET CLOSED -   US HOLIDAY ))) \017"
      } else {
          putserv "privmsg #channel :\0030,4 09:30ET\0030,12 ((( US MARKET OPEN ))) \017"
      }
  
  }
  </code></pre>