<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    That's pretty cool. Works perfectly :)<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    On 10/27/2010 2:43 PM, Mike Miller wrote:
    <blockquote
      cite="mid:alpine.DEB.2.00.1010271405000.3718@taxa.psych.umn.edu"
      type="cite">On Wed, 27 Oct 2010, Raymond Norton wrote:
      <br>
      <br>
      <blockquote type="cite">The file does not exist yet ( I will use
        the existing file for testing), but I imagine the headings will
        appear like this:
        <br>
        <br>
        COUNCIL MEMBER SEAT 1 CITY OF HUTCHINSON
        <br>
        <br>
        and
        <br>
        <br>
        COUNTY SHERIFF
        <br>
        <br>
        The refresh can be taken care of with the following:
        <br>
        <br>
        <meta http-equiv="refresh" content="5" >
        <br>
      </blockquote>
      <br>
      <br>
      The attached bash script, as currently written, grabs the HTML
      file, filters it through a perl regexp search/replace filter and
      produces the following output.  See instructions on how to fix it
      for your particular job.  We don't know exactly the format of the
      file right now, so I give a couple of guesses.  The input uses
      Windows text (carriage-return, newline pairs at ends of lines, so
      the script retains that).
      <br>
      <br>
      <br>
      <html>
      <br>
      <meta http-equiv="refresh" content="5" >
      <br>
      <br>
      <PRE>
      <br>
      PRECINCT REPORT       MCLEOD COUNTY, MINNESOTA         UNOFFICIAL
      RESULTS
      <br>
      RUN DATE:11/06/08     GENERAL ELECTION
      <br>
      RUN TIME:12:06 PM     NOVEMBER 4, 2008
      <br>
      <br>
                COUNCIL MEMBER SEAT 3 CITY OF HUTCHINSON
      <br>
                VOTE FOR UP TO  1
      <br>
                 ERIC YOST  .  .  .  .  .  .  .  .  .  .  .   1311  
      50.68
      <br>
                 MARY CHRISTENSEN .  .  .  .  .  .  .  .  .   1270  
      49.09
      <br>
                 WRITE-IN.  .  .  .  .  .  .  .  .  .  .  .      6    
      .23
      <br>
      <br>
                JUDGE 28 1ST DISTRICT COURT
      <br>
                VOTE FOR UP TO  1
      <br>
                 KAREN ASPHAUG .  .  .  .  .  .  .  .  .  .   1841  
      99.46
      <br>
                 WRITE-IN.  .  .  .  .  .  .  .  .  .  .  .     10    
      .54
      <br>
      <br>
      </pre>
      <br>
      </html>
      <br>
      <br>
      <br>
      Best,
      <br>
      Mike
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a class="moz-txt-link-abbreviated" href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a>
</pre>
    </blockquote>
  </body>
</html>