blob: 6518fd6eee5abde400cdd49cee73199b70c759d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /usr/bin/sed -f
#
# each line of the form ^.. .* contains the code for a country.
#
/^.. / {
h
s/^.. \(.*\)/\1./
x
s/^\(..\).*/@item \1/
G
p
}
#
# delete the rest
#
d
|