gettext/doc/iso-3166.sed
Bruno Haible 99d4cc9f0d Recommend to set LANG to 'll_CC'.
Add an appendix listing the country codes.
2001-04-17 15:35:10 +00:00

18 lines
199 B
Sed

#! /usr/bin/sed -f
#
# each line of the form ^..<tab>.* contains the code for a country.
#
/^.. / {
h
s/^.. \(.*\)/\1./
s/\&/and/g
x
s/^\(..\).*/@item \1/
G
p
}
#
# delete the rest
#
d