Merge branch 'bb/update-unicode-table'
Simplify the procedure to generate unicode table. * bb/update-unicode-table: update_unicode.sh: delete the command group update_unicode.sh: make the output structure visible update_unicode.sh: shorten uniset invocation path update_unicode.sh: set UNICODE_DIR only once update_unicode.sh: simplify output capture
This commit is contained in:
@ -27,11 +27,14 @@ fi &&
|
|||||||
fi &&
|
fi &&
|
||||||
make
|
make
|
||||||
) &&
|
) &&
|
||||||
echo "static const struct interval zero_width[] = {" >$UNICODEWIDTH_H &&
|
UNICODE_DIR=. && export UNICODE_DIR &&
|
||||||
UNICODE_DIR=. ./uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD |
|
cat >$UNICODEWIDTH_H <<-EOF
|
||||||
grep -v plane >>$UNICODEWIDTH_H &&
|
static const struct interval zero_width[] = {
|
||||||
echo "};" >>$UNICODEWIDTH_H &&
|
$(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD |
|
||||||
echo "static const struct interval double_width[] = {" >>$UNICODEWIDTH_H &&
|
grep -v plane)
|
||||||
UNICODE_DIR=. ./uniset/uniset --32 eaw:F,W >>$UNICODEWIDTH_H &&
|
};
|
||||||
echo "};" >>$UNICODEWIDTH_H
|
static const struct interval double_width[] = {
|
||||||
|
$(uniset/uniset --32 eaw:F,W)
|
||||||
|
};
|
||||||
|
EOF
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user