git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
27fe25d
)
countries: prefer hardcoded details over imported data
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 1 Feb 2015 13:46:58 +0000
(14:46 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 1 Feb 2015 17:34:57 +0000
(18:34 +0100)
AN and CS are currently declared at GeoNames for some reason.
Ignore those for consistent reserved marking.
tools/mkcountries-geonames
patch
|
blob
|
history
diff --git
a/tools/mkcountries-geonames
b/tools/mkcountries-geonames
index 2f124513f687c2f61b9ba7cb908173552b783d8b..c20320347ad67098dd03736019ee66fcd0458c53 100755
(executable)
--- a/
tools/mkcountries-geonames
+++ b/
tools/mkcountries-geonames
@@
-67,7
+67,7
@@
while (<>) {
my ($iso, $name, $cont, $tld) = (split /\t/)[0, 4, 8, 9];
my @info = ($name, "c-\L$cont");
$info[3] = $tld if $tld =~ s/\A\.// and $tld ne lc $iso;
- $cc{ lc $iso } = \@info;
+ $cc{ lc $iso }
//
= \@info;
}
$cc{io}->[2] = "Chagos Islands";