ccodes TLD/CC matching script

Description:

This TCL script finds and prints the country for a given TLD (.au .fr, etc) and prints it. It can also find the country code for a country.Requires tclsh TCL interpereter and is run from a terminal/command prompt.

Usage:

tclsh ccodes.tcl TYPE CODE
Where TYPE is either worldcc (for country codes) or rootcc (for tld codes) and CODE is the two letter domain extension or country code.

Download