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