mirror of
https://github.com/openharmony/third_party_gettext.git
synced 2026-07-19 21:26:06 -04:00
Script for converting the ISO_639-2 text file to a .texi file.
This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user