All pastes #281004 Raw Edit

Mine

public text v1 · immutable
#281004 ·published 2006-12-16 11:59 UTC
rendered paste body
ez shellben: 

cat og_h.html |grep mhev |grep bg |sed -e '/width=30/d' -e '/width=10/d' -e 's/.*<font class=".*">\(.*\)<\/font>.*/\1/' -e '/mhevbg/d' -e '/&nbsp/d' 


ez perlben:

#!/usr/bin/perl

open(FILE, "og_h.html");
while(<FILE>)
{
  $line = $_;
  if ($line =~ m/mhev/)
  {
    if ($line =~ m/bg/)
    {
      if ( !($line =~ m/width=10/) )
      {
        if ( !($line =~ m/width=30/) )
        {
          $line =~ /.*<font class=".*">(.*)<\/font>.*/;
          $line = $1;
          if ( !($line =~ m/mhevbg/) )
          {
            if ( !($line =~ m/&nbsp;/) )
            {
              print $line."\n";
            }
          }
        }
      }
    }
  }