[Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-22-g076c3a8

Tobias Quathamer toddy at debian.org
Wed Apr 8 19:21:09 UTC 2009


The following commit has been merged in the master branch:
commit 076c3a8a16b7ca7c55ba797b5cfe34bd12ba901e
Author: Tobias Quathamer <toddy at debian.org>
Date:   Wed Apr 8 21:20:48 2009 +0200

    Add removal of iso_639.tab to README

diff --git a/README b/README
index 4c0c76e..064ef3c 100644
--- a/README
+++ b/README
@@ -32,16 +32,21 @@ to be used by other applications as well. All those XML files
 are stored in the directory "/usr/share/xml/iso-codes".
 
 
-NEWS: iso_3166.tab removed
-==========================
+NEWS: iso_3166.tab and iso_639.tab removed
+==========================================
 
-Please note that the plain text tabular file "iso_3166.tab" has been
-removed from the directory /usr/share/iso-codes. If you need that
-specific format, you can easily regenerate the file. Install the
-package isoquery and run the following command:
+Please note that the plain text tabular files "iso_3166.tab" and
+"iso_639.tab" have been removed from the directory /usr/share/iso-codes.
+If you need that specific format, you can easily regenerate those
+files. Install the package isoquery and run the following commands:
 
 $ isoquery | cut -f 1,4 | sort > iso_3166.tab
 
+$ isoquery --iso=639 | \
+  sed -e "s/\t\t/\tXX\t/" | \
+  awk -F"\t" '{print $2"\t"$1"\t"$3"\t"$4}' | \
+  sort > iso_639.tab
+
 See the output of "isoquery --help" or "man isoquery" for more
 information and usage examples.
 

-- 
ISO language, territory, currency, script codes and their translations



More information about the Pkg-isocodes-devel mailing list