#!/usr/bin/perl
open LIST, ">list.html";
opendir(DIR, ".");
while($file=readdir(DIR) ){
unless($file =~ /msds/){next;}
print "$file\n";
open IN, "$file";
while()
{
if ( /PRODUCT/ )
{
$line= ;
print "$line\n";
print LIST
"Diana Industries -- $line
\n";
last;
}
}
}