X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fconvkeps.pl;h=4f8192b30fb57ad3c15c51f895b2c02f3fc35e6a;hb=14fa5913c9b5be9f55ef741236aaafbe516f64fe;hp=5b546ca7839d5a05979ccfea3d0830f1dfe15bc1;hpb=3d7d9178334249970ce51953523f2b336bf0b343;p=spider.git diff --git a/perl/convkeps.pl b/perl/convkeps.pl index 5b546ca7..4f8192b3 100755 --- a/perl/convkeps.pl +++ b/perl/convkeps.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/bin/env perl # # Convert an Amsat 2 line keps bull into Sun.pm format # @@ -32,7 +32,7 @@ # # Copyright (c) 2000 Dirk Koopman G1TLH # -# $Id$ +# # require 5.004; @@ -104,7 +104,7 @@ while (<$f>) { last if m{^-}; next if m{^To\s+all}i; - if (/^([- \w]+)(?:\s+\[[-+\w]\])$/) { + if (/^([- \w]+)(?:\s+\[[-+\w]\])?$/) { my $n = uc $1; $n =~ s/\s/-/g; $name = $lookup{$n};