aboutsummaryrefslogtreecommitdiff
path: root/gen/data-files
blob: 3deb6230121a91e7eca96b143ed85d8551b5e640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

cd "${0%/*}/.."

mkdir -p data

readonly BASE=https://www.unicode.org/Public/UCD/latest/ucd

readonly PATHS='
auxiliary/GraphemeBreakProperty
BidiBrackets
DerivedCoreProperties
DerivedNormalizationProps
emoji/emoji-data
extracted/DerivedBinaryProperties
extracted/DerivedDecompositionType
extracted/DerivedEastAsianWidth
extracted/DerivedLineBreak
extracted/DerivedNumericType
extracted/DerivedNumericValues
PropList
UnicodeData
'

for path in $PATHS
do
	name="data/${path##*/}"
	test -f "$name" || wget -q "$BASE/$path.txt" -O "$name" &
done
wait