projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove '#' in bands.pl !!!!!!
[spider.git]
/
perl
/
Spot.pm
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 8b703306e25e0f1b94f86c1bbbddabca0a2a70e1..9fcf3280d95ad8359516ee58c26e168114bb6f78 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-41,6
+41,7
@@
$filterdef = bless ([
['info', 't', 3],
['spotter', 'c', 4],
['by', 'c', 4],
['info', 't', 3],
['spotter', 'c', 4],
['by', 'c', 4],
+ ['dxcc', 'nc', 5],
['call_dxcc', 'nc', 5],
['by_dxcc', 'nc', 6],
['origin', 'c', 7, 9],
['call_dxcc', 'nc', 5],
['by_dxcc', 'nc', 6],
['origin', 'c', 7, 9],
@@
-63,7
+64,7
@@
$filterdef = bless ([
$totalspots = $hfspots = $vhfspots = 0;
$use_db_for_search = 0;
$totalspots = $hfspots = $vhfspots = 0;
$use_db_for_search = 0;
-our $readback =
0
;
+our $readback =
1
;
if ($readback) {
$readback = `which tac`;
if ($readback) {
$readback = `which tac`;
@@
-88,7
+89,7
@@
sub decodefreq
foreach $f (@f) {
my ($a, $b);
foreach $f (@f) {
my ($a, $b);
- if (m{^\d+/\d+$}) {
+ if (
$f =~
m{^\d+/\d+$}) {
push @out, $f;
} elsif (($a, $b) = $f =~ m{^(\w+)(?:/(\w+))?$}) {
$b = lc $b if $b;
push @out, $f;
} elsif (($a, $b) = $f =~ m{^(\w+)(?:/(\w+))?$}) {
$b = lc $b if $b;