Skip to content

Commit 32c239d

Browse files
bbolligitster
authored andcommitted
update_unicode.sh: delete the command group
Now that the whole file is generated by one single command, the command group is no longer needed. Signed-off-by: Beat Bolli <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1679acd commit 32c239d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

update_unicode.sh

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ fi &&
2626
./configure --enable-warnings=-Werror CFLAGS='-O0 -ggdb'
2727
fi &&
2828
make
29-
) && {
30-
UNICODE_DIR=. && export UNICODE_DIR &&
31-
cat <<-EOF
32-
static const struct interval zero_width[] = {
33-
$(uniset/uniset --32 cat:Me,Mn,Cf \
34-
+ U+1160..U+11FF - U+00AD | grep -v plane)
35-
};
36-
static const struct interval double_width[] = {
37-
$(uniset/uniset --32 eaw:F,W)
38-
};
39-
EOF
40-
} >$UNICODEWIDTH_H
29+
) &&
30+
UNICODE_DIR=. && export UNICODE_DIR &&
31+
cat >$UNICODEWIDTH_H <<-EOF
32+
static const struct interval zero_width[] = {
33+
$(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD |
34+
grep -v plane)
35+
};
36+
static const struct interval double_width[] = {
37+
$(uniset/uniset --32 eaw:F,W)
38+
};
39+
EOF
4140
)

0 commit comments

Comments
 (0)