xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/doc/iso-639-2.sed (revision e6c7e151de239c49d2e38720a061ed9d1fa99309)
1#! /usr/bin/sed -f
2#
3# Each line of the form ^...   .* contains the code for a language.
4# The categorization in column 60 should be a space, denoting a living language,
5# or an U.
6# The speakers number in columns 62..69 should be at least a million.
7#
8/^...   ......................................................[ U]..[^ ]/ {
9  h
10  s/^...   \(.*[^ ]\)   .*$/\1./
11  s/ç/@,{c}/g
12  s/´/'/g
13  x
14  s/^\(...\).*/@item \1/
15  G
16  p
17}
18#
19# delete the rest
20#
21d
22