projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd864f3
)
added the 'qsl' feature to sh/dx
author
djk
<djk>
Sun, 18 Jul 1999 14:08:10 +0000
(14:08 +0000)
committer
djk
<djk>
Sun, 18 Jul 1999 14:08:10 +0000
(14:08 +0000)
cmd/Commands_en.hlp
patch
|
blob
|
history
cmd/show/dx.pl
patch
|
blob
|
history
diff --git
a/cmd/Commands_en.hlp
b/cmd/Commands_en.hlp
index b41d0d83e92314017eb9fc1b15f6cc15d089dee8..3acb929b6bbde214f64c1094d8f2e567b1d48fe1 100644
(file)
--- a/
cmd/Commands_en.hlp
+++ b/
cmd/Commands_en.hlp
@@
-379,12
+379,16
@@
day <from>-<to> - <from> days <to> days ago
info <text> - any spots containing <text> in the info or remarks
spotter <call> - any spots spotted by <call>
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
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
=== 0^SHOW/DXCC <prefix>^Interrogate the spot database by country
This command takes the <prefix> (which can be a full or partial
diff --git
a/cmd/show/dx.pl
b/cmd/show/dx.pl
index 700138b6d27de3e55c40cf83409583fb7d2b5e83..52467faaa8fb1ca7515e27f663e7bdbe718b9f19 100644
(file)
--- a/
cmd/show/dx.pl
+++ b/
cmd/show/dx.pl
@@
-18,6
+18,7
@@
my $pre;
my $spotter;
my $info;
my $expr;
my $spotter;
my $info;
my $expr;
+my $qsl;
while ($f = shift @list) { # next field
# print "f: $f list: ", join(',', @list), "\n";
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;
}
$spotter = uc shift @list;
next;
}
+ if (lc $f eq 'qsl') {
+ $doqsl = 1;
+ next;
+ }
if (!$pre) {
$pre = uc $f;
}
if (!$pre) {
$pre = uc $f;
}
@@
-96,6
+101,12
@@
if ($spotter) {
$expr .= "\$f4 =~ m{$spotter}o";
}
$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
#print "expr: $expr from: $from to: $to fromday: $fromday today: $today\n";
# now do the search