summaryrefslogtreecommitdiffstats
path: root/doc/iso-639.sed
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-04-17 15:35:10 +0000
committerBruno Haible <bruno@clisp.org>2001-04-17 15:35:10 +0000
commit99d4cc9f0d1894b1befa661bf3ed616a354f793d (patch)
tree7c8a97c9d03e9ff2f92efd8aa3595e673eac1fcb /doc/iso-639.sed
parentbef9f5f9b8c9dc61035cd7d715b154fb98bcd2c0 (diff)
downloadexternal_gettext-99d4cc9f0d1894b1befa661bf3ed616a354f793d.zip
external_gettext-99d4cc9f0d1894b1befa661bf3ed616a354f793d.tar.gz
external_gettext-99d4cc9f0d1894b1befa661bf3ed616a354f793d.tar.bz2
Recommend to set LANG to 'll_CC'.
Add an appendix listing the country codes.
Diffstat (limited to 'doc/iso-639.sed')
-rw-r--r--doc/iso-639.sed16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/iso-639.sed b/doc/iso-639.sed
new file mode 100644
index 0000000..6518fd6
--- /dev/null
+++ b/doc/iso-639.sed
@@ -0,0 +1,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