diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-23 19:05:20 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-23 19:05:20 +0100 |
commit | 0b12949fbadae1df31989affdae54af33f6a58ce (patch) | |
tree | 3386f890fbfbb74e90e27d69c2831484304fd4de /gen/data-files | |
parent | aebabed4d9b16eeac9c307e762767a3fd296003a (diff) |
Add unicode/gbrk
Diffstat (limited to 'gen/data-files')
-rwxr-xr-x | gen/data-files | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gen/data-files b/gen/data-files new file mode 100755 index 0000000..69ad9ba --- /dev/null +++ b/gen/data-files @@ -0,0 +1,18 @@ +#!/bin/sh + +cd "${0%/*}/.." + +mkdir -p data + +readonly URLS=' +https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt +https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt +https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt +' + +for url in $URLS +do + name="data/${url##*/}" + test -f "$name" || wget -q "$url" -O "$name" & +done +wait |