From 4be9da8d2d4f428de60dd7af874a28630d33b542 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 11 Apr 2024 21:20:31 +0200 Subject: Remove .txt from Unicode data files --- gen/prop/bool-props | 10 +++++----- gen/prop/bpb | 2 +- gen/prop/bpt | 2 +- gen/prop/dt | 2 +- gen/prop/ea | 2 +- gen/prop/gc | 2 +- gen/prop/lb | 2 +- gen/prop/na | 2 +- gen/prop/na1 | 2 +- gen/prop/nt | 2 +- gen/prop/nv | 2 +- gen/prop/slc | 2 +- gen/prop/stc | 2 +- gen/prop/suc | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) (limited to 'gen/prop') 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 -- cgit v1.2.3