update_unicode.sh: remove the plane filter
authorBeat Bolli <dev+git@drbeat.li>
Tue, 13 Dec 2016 23:31:43 +0000 (00:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Dec 2016 17:48:07 +0000 (09:48 -0800)
The uniset upstream has accepted my patches that eliminate the Unicode
plane offsets from the output in '--32' mode.

Remove the corresponding filter in update_unicode.sh.

This also fixes the issue that the plane offsets were not removed from
the second uniset call.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/update-unicode/update_unicode.sh
index 56871a1f499d4f63903fa72c54080982d0139e1c..e05db92d3fb255d09a1844ceb6428b6279e8eea9 100755 (executable)
@@ -25,8 +25,7 @@ fi &&
 UNICODE_DIR=. && export UNICODE_DIR &&
 cat >$UNICODEWIDTH_H <<-EOF
 static const struct interval zero_width[] = {
-       $(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD |
-         grep -v plane)
+       $(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD)
 };
 static const struct interval double_width[] = {
        $(uniset/uniset --32 eaw:F,W)