X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=306bc282582e2b5b634df974f573848768c58f43;hb=e266b6c9d500dde73cf0025a63a8032ea1cf378d;hp=7f9139cf8c9c0def2f5f4160cca7a202f0de9781;hpb=d575eccdad09a43d6c705d739a4e1cd82e757091;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 7f9139cf..306bc282 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -361,7 +361,7 @@ sub dup $d = int ($d / 60); $d *= 60; - $by =~ s/-\d+$//g; + $by =~ s|[-/]\d+$||; $freq = sprintf "%.1f", $freq; # normalise frequency $call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth;