Simplify extraction of static collation definition
This commit is contained in:
parent
65bae9164a
commit
21dd98964e
@ -5,14 +5,8 @@ BEGIN {
|
||||
print "# from CLDR project data, obtained from http://cldr.unicode.org/"
|
||||
print "# -----------------------------------------------------------------------------"
|
||||
}
|
||||
$1 == "comment_char" { print $0 }
|
||||
$1 == "escape_char" { print $0 }
|
||||
$1 == "LC_COLLATE" {
|
||||
print $0
|
||||
while (getline line) {
|
||||
print line
|
||||
if (line == "END LC_COLLATE") {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
$1 == "comment_char" { print }
|
||||
$1 == "escape_char" { print }
|
||||
$1 == "LC_COLLATE" { doprint = 1 }
|
||||
doprint == 1 { print }
|
||||
$1 == "END" && $2 == "LC_COLLATE" { exit 0 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user