blob: 1f9948b922b73d47af6b4ef95041ea5f09009a7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /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
|