NAME.awk - m17n/m17n-db.git - m17n-db

m17n-db
summary refs log tree commit diff
path: root/NAME.awk
blob: d5bc4fea4ca11cd8386ba6663920a37ffa968999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
BEGIN {
 FS = ";";
 from = -1;
 name = "";
}
# For these lines:
# 3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
# 4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;
/, First>/ {
 from = 1ドル; 
 split (2,ドル a, "[<,]");
 getline;
 print "0x"from"-0x"1,ドル a[2];
 from = -1;
 next;
}
# For succeeding same names.
/CJK COMPATIBILITY IDEOGRAPH|<control>/ {
 if (from < 0)
 {
 from = 1ドル;
 if (2ドル ~ "CJK")
	name = "CJK COMPATIBILITY IDEOGRAPH";
 else
	name = "control";
 }
 to = 1ドル;
 next;
}
# For normal names.
{
 if (from >= 0)
 {
 print "0x"from"-0x"to, name;
 from = -1;
 }
 print "0x"1,ドル 2ドル;
}
END {
 if (from >= 0)
 print "0x"from"-0x"to, name;
}
generated by cgit v1.2.3 (git 2.46.0) at 2025年11月18日 11:52:33 +0000

AltStyle によって変換されたページ (->オリジナル) /