projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a digit to qrg in sh/dx
[spider.git]
/
cmd
/
wwv.pl
diff --git
a/cmd/wwv.pl
b/cmd/wwv.pl
index 3b0397fce0526569d294eedbb92d1e11c8c8e7f2..98930c895a9063dfd9608174856d528dfe109a03 100644
(file)
--- a/
cmd/wwv.pl
+++ b/
cmd/wwv.pl
@@
-21,7
+21,7
@@
#
# Copyright (c) 2001 Dirk Koopman G1TLH
#
#
# Copyright (c) 2001 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
my $call = $self->call;
#
my ($self, $line) = @_;
my $call = $self->call;
@@
-36,9
+36,10
@@
my @out;
my $hour = (gmtime $main::systime)[2];
my $d = int ($main::systime / 3600) * 3600 + 18 * 60;
my $hour = (gmtime $main::systime)[2];
my $d = int ($main::systime / 3600) * 3600 + 18 * 60;
+$line = unpad($line);
+
my @l = split /\s*,\s*/, $line;
my $forecast = pop @l;
my @l = split /\s*,\s*/, $line;
my $forecast = pop @l;
-$forecast = unpad($forecast);
# make a hash out of the args
my %args = map {split /\s*=\s*/, lc $_} @l;
# make a hash out of the args
my %args = map {split /\s*=\s*/, lc $_} @l;