X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b4ce208aa528529fbc34a035cf76b3f3e817e94a..dcefcbbaea0166c5eedf208ada319e451ddff160:/tools/mkcountries-geonames diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 592ce75..99201b8 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -41,6 +41,7 @@ my %cc; # map of country code to info array while (<>) { /^#/ and next; # skip comments my ($iso, $name, $cont) = (split /\t/)[0, 4, 8]; + $cont =~ s/\AAN\z/aa/; # different antarctica abbreviation my $class = "c-\L$cont"; $cc{ lc $iso } = [ $name, $class ]; }