#!/bin/sh cd "${0%/*}/.." mkdir -p data readonly BASE='https://www.unicode.org/Public/15.1.0/ucd' readonly PATHS=' auxiliary/GraphemeBreakProperty 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