I need a list of all the countries June 29, 2009 1:55 PMSubscribe
I'm looking for a randomized list of every nation state in the world, preferably in spreadsheet column form. Is there anything like this? posted by billtron to grab bag (8 answers total) 1 user marked this as a favorite
There's a wikipedia page which looks more official, but less easy to copy/paste into excel. posted by cschneid at 2:00 PM on June 29, 2009
What do u mean "randomized"? This question would make perfect sense to me had that word not been included. posted by hal_c_on at 2:01 PM on June 29, 2009
grep countryname <(HTML_FILE) | awk -F''\''' '{print $12}' | sort -u | while read c ; do echo -e $RANDOM"\t"$c ; done | sort -n | sed -e 's/^[0-9]*//g' posted by doteatop at 2:14 PM on June 29, 2009
Croatia is missing in the first link, and a few others, like Vatican City and Kosovo. The US Department of State recognizes 194 countries. posted by weapons-grade pandemonium at 3:13 PM on June 29, 2009
There's a wikipedia page which looks more official, but less easy to copy/paste into excel.
posted by cschneid at 2:00 PM on June 29, 2009