From 37dfbc681a882ea8d82f1c2c4b27b3058b1c30e8 Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 21 Mar 2005 17:47:11 +0000 Subject: [PATCH] fix $by in dups --- perl/Spot.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl/Spot.pm b/perl/Spot.pm index a57edbe8..112fcffe 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -328,6 +328,9 @@ sub dup $d = int ($d / 60); $d *= 60; + # remove SSID or area + $by =~ s|[-/]\d+$||; + $freq = sprintf "%.1f", $freq; # normalise frequency $call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth; -- 2.43.0