tohex["e"] = 15;
tohex["f"] = 16;
- FILE = "UnicodeData.txt";
FS = "[ \t]*[;#][ \t]*";
}
/^[^\#]/ {
- if (FILE == "UnicodeData.txt") {
+ if (FILENAME == "UNIDATA/UnicodeData.txt") {
if ($3 ~ /L[ltu]/)
single($1, 1);
else if ($3 ~ /Mn|Me|Cf|Lm|Sk/)
next;
}
- else if (FILE == "PropList.txt") {
+ else if (FILENAME == "UNIDATA/PropList.txt") {
if ($2 ~ /Other_(Upp|Low)ercase/) {
if (index($1, "."))
range($1, 1);
}
}
-/^\# PropList-.+\.txt/ {
- FILE = "PropList.txt";
-}
-
-/^\# WordBreakProperty-.+\.txt/ {
- FILE = "WordBreakProperty.txt";
-}
-
END {
for (i in cased)
printf ("0x%X %d\n", i, cased[i]);