projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
781531d
)
remove space from dupe checking
author
minima
<minima>
Wed, 23 Aug 2000 21:50:18 +0000
(21:50 +0000)
committer
minima
<minima>
Wed, 23 Aug 2000 21:50:18 +0000
(21:50 +0000)
perl/AnnTalk.pm
patch
|
blob
|
history
perl/Spot.pm
patch
|
blob
|
history
diff --git
a/perl/AnnTalk.pm
b/perl/AnnTalk.pm
index 84aa55ed8b4158c92536c25178baf8d170125897..658c21b82ee52380b0c1b49735bf018774cd9074 100644
(file)
--- a/
perl/AnnTalk.pm
+++ b/
perl/AnnTalk.pm
@@
-26,7
+26,7
@@
sub dup
chomp $text;
unpad($text);
chomp $text;
unpad($text);
- $text =~ s/[^
a-zA-Z0-9]//g;
+ $text =~ s/[^a-zA-Z0-9]//g;
$text = substr($text, 0, $duplth) if length $text > $duplth;
my $dupkey = "A$to|$text";
return DXDupe::check($dupkey, $main::systime + $dupage);
$text = substr($text, 0, $duplth) if length $text > $duplth;
my $dupkey = "A$to|$text";
return DXDupe::check($dupkey, $main::systime + $dupage);
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index e06c6cee156960d632781c44caed8b75385693c4..30c0b6270beaf05a2c159e326676fa3fa8753478 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-215,7
+215,7
@@
sub dup
chomp $text;
$text = substr($text, 0, $duplth) if length $text > $duplth;
unpad($text);
chomp $text;
$text = substr($text, 0, $duplth) if length $text > $duplth;
unpad($text);
- $text =~ s/[^
a-zA-Z0-9]//g;
+ $text =~ s/[^a-zA-Z0-9]//g;
my $dupkey = "X$freq|$call|$d|$text";
return DXDupe::check($dupkey, $main::systime+$dupage);
}
my $dupkey = "X$freq|$call|$d|$text";
return DXDupe::check($dupkey, $main::systime+$dupage);
}