Dolda2000 GitWeb
/
utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ANN: Use the decoded HTTP content for proper Unicode.
[utils.git]
/
tel2name
diff --git
a/tel2name
b/tel2name
index
819f0b5
..
1623d7c
100755
(executable)
--- a/
tel2name
+++ b/
tel2name
@@
-90,7
+90,7
@@
if($wppid == 0) {
binmode(YP, ":utf8");
binmode(WP, ":utf8");
binmode(YP, ":utf8");
binmode(WP, ":utf8");
-match: while(<
Y
P>) {
+match: while(<
W
P>) {
chomp;
for $prev (@matches) {
next match if (lc $prev) eq (lc $_);
chomp;
for $prev (@matches) {
next match if (lc $prev) eq (lc $_);
@@
-99,7
+99,7
@@
match: while(<YP>) {
flush;
push @matches, $_;
}
flush;
push @matches, $_;
}
-match: while(<
W
P>) {
+match: while(<
Y
P>) {
chomp;
for $prev (@matches) {
next match if (lc $prev) eq (lc $_);
chomp;
for $prev (@matches) {
next match if (lc $prev) eq (lc $_);