brian       98/10/09 07:27:42

  Modified:    dyn      closer.cgi
  Log:
  should split on any whitespace, not just tabs.  Also, don't display entries
  that are commented out.
  
  Revision  Changes    Path
  1.6       +2 -1      apache-site/dyn/closer.cgi
  
  Index: closer.cgi
  ===================================================================
  RCS file: /home/cvs/apache-site/dyn/closer.cgi,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- closer.cgi        1997/07/02 11:10:05     1.5
  +++ closer.cgi        1998/10/09 14:27:42     1.6
  @@ -24,8 +24,9 @@
       $count = 0;
       while(<MIRRORS>)
       {
  +     next if (/^#/, $_);
        chomp;
  -     @AR = split (/\t/, $_);
  +     @AR = split (/\s/, $_);
        if(($cc eq $AR[1] || $sld.".".$tld eq $AR[1]) && $AR[0] eq $method)
        {
            $LIST[$count] = $AR[2];
  
  
  

Reply via email to