projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added the 'qsl' feature to sh/dx
[spider.git]
/
cmd
/
show
/
dx.pl
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