aboutsummaryrefslogtreecommitdiff
path: root/gen/prop
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-11 21:20:31 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-11 21:20:37 +0200
commit4be9da8d2d4f428de60dd7af874a28630d33b542 (patch)
tree8e7cfc5c9814f350ef1569bd3b21dfdb660f42b7 /gen/prop
parenta1749aa9bbe5abc10bde30b2bf1210091e0ee2d4 (diff)
Remove .txt from Unicode data files
Diffstat (limited to 'gen/prop')
-rwxr-xr-xgen/prop/bool-props10
-rwxr-xr-xgen/prop/bpb2
-rwxr-xr-xgen/prop/bpt2
-rwxr-xr-xgen/prop/dt2
-rwxr-xr-xgen/prop/ea2
-rwxr-xr-xgen/prop/gc2
-rwxr-xr-xgen/prop/lb2
-rwxr-xr-xgen/prop/na2
-rwxr-xr-xgen/prop/na12
-rwxr-xr-xgen/prop/nt2
-rwxr-xr-xgen/prop/nv2
-rwxr-xr-xgen/prop/slc2
-rwxr-xr-xgen/prop/stc2
-rwxr-xr-xgen/prop/suc2
14 files changed, 18 insertions, 18 deletions
diff --git a/gen/prop/bool-props b/gen/prop/bool-props
index 5e93a8e..04e1e32 100755
--- a/gen/prop/bool-props
+++ b/gen/prop/bool-props
@@ -85,11 +85,11 @@ gen()
printf 'DONE uprop_is_%s()\n' $p >&2
}
-for prop in $props1; do gen $prop PropList.txt & done
-for prop in $props2; do gen $prop DerivedCoreProperties.txt & done
-for prop in $props3; do gen $prop emoji-data.txt & done
-for prop in $props4; do gen $prop DerivedNormalizationProps.txt & done
-for prop in $props5; do gen $prop DerivedBinaryProperties.txt & done
+for prop in $props1; do gen $prop PropList & done
+for prop in $props2; do gen $prop DerivedCoreProperties & done
+for prop in $props3; do gen $prop emoji-data & done
+for prop in $props4; do gen $prop DerivedNormalizationProps & done
+for prop in $props5; do gen $prop DerivedBinaryProperties & done
printf '[[__nodiscard__, __unsequenced__]] bool uprop_is_%s(rune);\n' \
$(printf '%s\n' $props1 $props2 $props3 $props4 $props5 | cut -d= -f1) \
diff --git a/gen/prop/bpb b/gen/prop/bpb
index 52e3a9d..c6fdf5d 100755
--- a/gen/prop/bpb
+++ b/gen/prop/bpb
@@ -49,4 +49,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);"
print "}"
}
-' data/BidiBrackets.txt
+' data/BidiBrackets
diff --git a/gen/prop/bpt b/gen/prop/bpt
index b73b804..c9726a6 100755
--- a/gen/prop/bpt
+++ b/gen/prop/bpt
@@ -50,4 +50,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);"
print "}"
}
-' data/BidiBrackets.txt
+' data/BidiBrackets
diff --git a/gen/prop/dt b/gen/prop/dt
index 82d6331..eb4884c 100755
--- a/gen/prop/dt
+++ b/gen/prop/dt
@@ -81,4 +81,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);"
print "}"
}
-' data/DerivedDecompositionType.txt | sed 's/\s*$//'
+' data/DerivedDecompositionType | sed 's/\s*$//'
diff --git a/gen/prop/ea b/gen/prop/ea
index 6bf1291..a72ff10 100755
--- a/gen/prop/ea
+++ b/gen/prop/ea
@@ -62,4 +62,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);"
print "}"
}
-' data/DerivedEastAsianWidth.txt | sed 's/\s*$//'
+' data/DerivedEastAsianWidth | sed 's/\s*$//'
diff --git a/gen/prop/gc b/gen/prop/gc
index 219df8a..c027754 100755
--- a/gen/prop/gc
+++ b/gen/prop/gc
@@ -65,4 +65,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData
diff --git a/gen/prop/lb b/gen/prop/lb
index 25febdb..251a947 100755
--- a/gen/prop/lb
+++ b/gen/prop/lb
@@ -62,4 +62,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);"
print "}"
}
-' data/DerivedLineBreak.txt | sed 's/\s*$//'
+' data/DerivedLineBreak | sed 's/\s*$//'
diff --git a/gen/prop/na b/gen/prop/na
index 291a7d9..250b746 100755
--- a/gen/prop/na
+++ b/gen/prop/na
@@ -35,4 +35,4 @@ END {
print "\treturn ch < lengthof(lookup) ? lookup[ch] : (struct u8view){};"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData
diff --git a/gen/prop/na1 b/gen/prop/na1
index 7ed1a0a..855f1de 100755
--- a/gen/prop/na1
+++ b/gen/prop/na1
@@ -41,4 +41,4 @@ END {
print "\treturn mlib_lookup_kv(ch);"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData
diff --git a/gen/prop/nt b/gen/prop/nt
index a55ea45..720baf2 100755
--- a/gen/prop/nt
+++ b/gen/prop/nt
@@ -66,4 +66,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);"
print "}"
}
-' data/DerivedNumericType.txt | sed 's/\s*$//'
+' data/DerivedNumericType | sed 's/\s*$//'
diff --git a/gen/prop/nv b/gen/prop/nv
index 4d81fa9..9cb6ba9 100755
--- a/gen/prop/nv
+++ b/gen/prop/nv
@@ -62,4 +62,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);"
print "}"
}
-' data/DerivedNumericValues.txt
+' data/DerivedNumericValues
diff --git a/gen/prop/slc b/gen/prop/slc
index 57ee4c0..c7019e4 100755
--- a/gen/prop/slc
+++ b/gen/prop/slc
@@ -50,4 +50,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData
diff --git a/gen/prop/stc b/gen/prop/stc
index 42dca19..252cfa5 100755
--- a/gen/prop/stc
+++ b/gen/prop/stc
@@ -42,4 +42,4 @@ END {
print "\treturn mlib_lookup_kv(ch);"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData
diff --git a/gen/prop/suc b/gen/prop/suc
index 8a53060..1ae4ad4 100755
--- a/gen/prop/suc
+++ b/gen/prop/suc
@@ -50,4 +50,4 @@ END {
print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);"
print "}"
}
-' data/UnicodeData.txt
+' data/UnicodeData