X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fwwv.pl;h=eb8d517bff9caed349809acefe210ef644144997;hb=66ff43a4977e5877448981a7e3674a5c52b214ed;hp=e010972604ce738f5e05ebe74fdfbf07b353eb64;hpb=9c23c26e9c317f924994e1fead122708d3369091;p=spider.git diff --git a/cmd/show/wwv.pl b/cmd/show/wwv.pl index e0109726..eb8d517b 100644 --- a/cmd/show/wwv.pl +++ b/cmd/show/wwv.pl @@ -26,9 +26,10 @@ while ($f = shift @f) { # next field } } -$to = 10 if !$to; +$from = 1 unless $from; +$to = 10 unless $to; -push @out, "Date Hour SFI K A Forecast Logger"; +push @out, "Date Hour SFI A K Forecast Logger"; my @in = Geomag::search($from, $to, $main::systime); for (@in) { push @out, Geomag::print_item($_);