X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdx.pl;h=52467faaa8fb1ca7515e27f663e7bdbe718b9f19;hb=2e60042c452f5f5c10747474fd622055c18229ed;hp=700138b6d27de3e55c40cf83409583fb7d2b5e83;hpb=af2f3a0a2f8e5d99e0072c194f20a1da2f559348;p=spider.git diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index 700138b6..52467faa 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -18,6 +18,7 @@ my $pre; my $spotter; my $info; my $expr; +my $qsl; while ($f = shift @list) { # next field # print "f: $f list: ", join(',', @list), "\n"; @@ -56,6 +57,10 @@ while ($f = shift @list) { # next field $spotter = uc shift @list; next; } + if (lc $f eq 'qsl') { + $doqsl = 1; + next; + } if (!$pre) { $pre = uc $f; } @@ -96,6 +101,12 @@ if ($spotter) { $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