mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-22 05:38:11 +08:00
20 lines
508 B
Bash
20 lines
508 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
url="ftp://ftp.unicode.org/Public/12.1.0/ucd"
|
||
|
emoji_url="ftp://ftp.unicode.org/Public/emoji/12.0/emoji-data.txt"
|
||
|
|
||
|
files="CaseFolding.txt DerivedNormalizationProps.txt PropList.txt \
|
||
|
SpecialCasing.txt CompositionExclusions.txt ScriptExtensions.txt \
|
||
|
UnicodeData.txt DerivedCoreProperties.txt NormalizationTest.txt Scripts.txt \
|
||
|
PropertyValueAliases.txt"
|
||
|
|
||
|
mkdir -p unicode
|
||
|
|
||
|
for f in $files; do
|
||
|
g="${url}/${f}"
|
||
|
wget $g -O unicode/$f
|
||
|
done
|
||
|
|
||
|
wget $emoji_url -O unicode/emoji-data.txt
|