diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-27 23:26:42 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-27 23:26:42 +0100 |
commit | 679f7928e27a95e559eb3a69febf0c6336e40234 (patch) | |
tree | af9c5bb35253086eb8e3ad3d7774e7349b3beefe /vendor/librune/gen/gbrk | |
parent | fd502fd87b40ae7f60314d8d9009f739f1c5fcf3 (diff) |
Bump librune
Diffstat (limited to 'vendor/librune/gen/gbrk')
-rwxr-xr-x | vendor/librune/gen/gbrk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/librune/gen/gbrk b/vendor/librune/gen/gbrk index 58e47b4..72ee2f7 100755 --- a/vendor/librune/gen/gbrk +++ b/vendor/librune/gen/gbrk @@ -2,17 +2,17 @@ cache() { - name="/tmp/librune/$(basename "$1")" + name="/tmp/librune/gbrk/$(basename "$1")" if test ! -f "$name" then - mkdir -p /tmp/librune + mkdir -p /tmp/librune/gbrk wget -q "$1" -O "$name" fi } set -e cd "${0%/*}/.." -exec >lib/internal/gbrk_lookup.h +exec >include/internal/gbrk_lookup.h readonly URL1='https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt' readonly URL2='https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt' @@ -104,10 +104,10 @@ END { lo = i while (props[lo] == props[i + 1]) i++ - printf "\t{0x%05X, 0x%05X, %s},\n", lo, i, props[lo] + printf "\t{0x%06X, 0x%06X, %s},\n", lo, i, props[lo] } } -' /tmp/librune/* | sort +' /tmp/librune/gbrk/* | sort cat <<C }; |