1#! /usr/bin/sed -f
2#
3# each line of the form ^..<tab>.* contains the code for a country.
4#
5/^..	/ {
6  h
7  s/^..	\(.*\)/\1./
8  s/\&/and/g
9  s/��/@^{o}/g
10  s/��/e/g
11  s/��/Aa/g
12  x
13  s/^\(..\).*/@item \1/
14  G
15  p
16}
17#
18# delete the rest
19#
20d
21