diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-03 01:48:50 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-03 01:48:50 +0200 |
commit | 17e104138e78cceb67128a3f8abd378133e993e8 (patch) | |
tree | d9d4b4f81dfc7c3752180baa1dd84d3d52d3922c /gen/prop/bool-props | |
parent | d3cc478c3ebcfc65d89ddad7446e9652b50ab0df (diff) |
Improve gen script runner
Diffstat (limited to 'gen/prop/bool-props')
-rwxr-xr-x | gen/prop/bool-props | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/gen/prop/bool-props b/gen/prop/bool-props index 198b0b8..a79f858 100755 --- a/gen/prop/bool-props +++ b/gen/prop/bool-props @@ -79,15 +79,21 @@ ri=Regional_Indicator gen() { local p=${1%%=*} - gen/prop/bool-props.py ${1#*=} $p data/$2 \ - >lib/unicode/prop/uprop_is_$p.c + printf 'sh -c "gen/prop/bool-props.py %s %s %s >%s"\n' \ + ${1#*=} $p data/$2 lib/unicode/prop/uprop_is_$p.c } -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 +( + IFS=' +' + parallel-moreutils -- $( + 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 '[[_mlib_pure]] bool uprop_is_%s(rune);\n' \ $(printf '%s\n' $props1 $props2 $props3 $props4 $props5 | cut -d= -f1) \ |