xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/doc/iso-3166.sed (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
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