use Spot;
use DXDb;
+my $end = 0;
+$SIG{TERM} = $SIG{INT} = sub { $end++ };
+
my $qslfn = "localqsl";
$main::systime = time;
my $baseyear = "$base/$year";
opendir DAY, $baseyear or die "$baseyear $!";
foreach my $day (sort readdir DAY) {
- next if $day =~ /^\./;
+ next unless $day =~ /dat$/;
my $fn = "$baseyear/$day";
my $f = new IO::File $fn or die "$fn ($!)";
+ print "doing: $fn\n";
while (<$f>) {
if (/(QSL|VIA)/i) {
my ($freq, $call, $t, $comment, $by, @rest) = split /\^/;
}
}
}
+ $f->close;
}
}