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