X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdx.pl;h=0961711347d7fd14f8650deeb3531a0d0c8af627;hb=df49d2cf8efcb2b6becf241379700f363a7014df;hp=aac5fdaf27dde51d5f614642f274fef62d4f0e83;hpb=ea2243750e58b6007a0d1f5ab69beabb09733097;p=spider.git diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index aac5fdaf..09617113 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -22,7 +22,7 @@ my $hint; my $dxcc; my $real; my $fromdxcc; -my ($doqsl, $doiota, $doqra); +my ($doqsl, $doiota, $doqra, $dofilter); while ($f = shift @list) { # next field # print "f: $f list: ", join(',', @list), "\n"; @@ -79,6 +79,10 @@ while ($f = shift @list) { # next field } next; } + if (lc $f =~ /^filt/) { + $dofilter = 1; + next; + } if (lc $f eq 'qsl') { $doqsl = 1; next; @@ -242,7 +246,7 @@ if ($doqra) { #print "expr: $expr from: $from to: $to fromday: $fromday today: $today\n"; # now do the search -my @res = Spot::search($expr, $fromday, $today, $from, $to, $hint); +my @res = Spot::search($expr, $fromday, $today, $from, $to, $hint, $dofilter); my $ref; my @dx; foreach $ref (@res) {