projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bf0a0d
)
truncate qrg for spot dupes
author
minima
<minima>
Mon, 11 Jun 2007 10:27:14 +0000
(10:27 +0000)
committer
minima
<minima>
Mon, 11 Jun 2007 10:27:14 +0000
(10:27 +0000)
perl/Spot.pm
patch
|
blob
|
history
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 4d87be3723e2317d8b7d6718da37dd9bfb66ed55..4f9f18ab2fa0540f3a7157268c9a5807274f1e60 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-394,7
+394,8
@@
sub dup
# remove SSID or area
$by =~ s|[-/]\d+$||;
# remove SSID or area
$by =~ s|[-/]\d+$||;
- $freq = sprintf "%.1f", $freq; # normalise frequency
+# $freq = sprintf "%.1f", $freq; # normalise frequency
+ $freq = int $freq; # normalise frequency
$call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth;
chomp $text;
$call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth;
chomp $text;