aboutsummaryrefslogtreecommitdiff
path: root/gen/data-files
blob: 69ad9baa9d551d5009aec47cb88919c0e54f4846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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