projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to improve the PC11->PC61 autoupgrade system
[spider.git]
/
cmd
/
show
/
dup_eph.pl
diff --git
a/cmd/show/dup_eph.pl
b/cmd/show/dup_eph.pl
index c8abccc1f24c64e925b4f850ac5c7c5a53761626..6b0ec83c04f16e156d797db89c32543813d19e56 100644
(file)
--- a/
cmd/show/dup_eph.pl
+++ b/
cmd/show/dup_eph.pl
@@
-4,9
+4,20
@@
#
# Copyright (c) 2000 Dirk Koopman G1TLH
#
#
# Copyright (c) 2000 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my $self = shift;
my $line = shift;
return (1, $self->msg('e5')) unless $self->priv >= 9;
#
my $self = shift;
my $line = shift;
return (1, $self->msg('e5')) unless $self->priv >= 9;
-return (1, DXProt::eph_list $line);
+my $regex = $line;
+my @out;
+my %list = DXProt::eph_list();
+
+for (keys %list ) {
+ if ($regex) {
+ next unless /$regex/i;
+ }
+ push @out, ztime($list{$_}) . ": $_";
+}
+return (1, sort @out);
+