summaryrefslogtreecommitdiff
path: root/gettext-tools/doc/iso-639.sed
blob: c7b64ef61bed79db8887b60e545a2c1a7323fab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/sed -f
#
# each line of the form ^.. .* contains the code for a language.
#
/^.. / {
  h
  s/^.. \(.*\)/\1./
  x
  s/^\(..\).*/@item \1/
  G
  p
}
#
# delete the rest
#
d