aboutsummaryrefslogtreecommitdiff
path: root/gen/data-files
blob: ac984b9069dffe4abb32b3f8254006205c9512ff (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh

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

mkdir -p data

readonly BASE='https://www.unicode.org/Public/15.1.0/ucd'

readonly PATHS='
	auxiliary/GraphemeBreakProperty
	auxiliary/SentenceBreakProperty
	auxiliary/WordBreakProperty
	BidiBrackets
	BidiMirroring
	Blocks
	CaseFolding
	DerivedAge
	DerivedCoreProperties
	DerivedNormalizationProps
	emoji/emoji-data
	EquivalentUnifiedIdeograph
	extracted/DerivedBidiClass
	extracted/DerivedBinaryProperties
	extracted/DerivedDecompositionType
	extracted/DerivedEastAsianWidth
	extracted/DerivedJoiningGroup
	extracted/DerivedJoiningType
	extracted/DerivedLineBreak
	extracted/DerivedNumericType
	extracted/DerivedNumericValues
	HangulSyllableType
	IndicPositionalCategory
	IndicSyllabicCategory
	PropList
	ScriptExtensions
	Scripts
	SpecialCasing
	UnicodeData
	VerticalOrientation
'

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