info <text> - any spots containing <text> in the info or remarks
spotter <call> - any spots spotted by <call>
+
+qsl - this automatically looks for any qsl info on the call
+ held in the database.
e.g.
SH/DX 9m0
SH/DX on 20m info iota
SH/DX 9a on vhf day 30
+ SH/DX rf1p qsl
=== 0^SHOW/DXCC <prefix>^Interrogate the spot database by country
This command takes the <prefix> (which can be a full or partial
my $spotter;
my $info;
my $expr;
+my $qsl;
while ($f = shift @list) { # next field
# print "f: $f list: ", join(',', @list), "\n";
$spotter = uc shift @list;
next;
}
+ if (lc $f eq 'qsl') {
+ $doqsl = 1;
+ next;
+ }
if (!$pre) {
$pre = uc $f;
}
$expr .= "\$f4 =~ m{$spotter}o";
}
+# qsl requests
+if ($doqsl) {
+ $expr .= " && " if $expr;
+ $expr .= "\$f3 =~ m{(QSL|VIA)}io";
+}
+
#print "expr: $expr from: $from to: $to fromday: $fromday today: $today\n";
# now do the search