quickjs-done-nextgen/unicode_download.sh
Ben Noordhuis 6fdb9b4bbb Update Unicode download URL
Seems I forgot to update the unicode_download.sh script when I upgraded
from Unicode 14.0 to 15.0 in November 2023.
2024-11-09 23:14:52 +01:00

19 lines
481 B
Bash
Executable file

#!/bin/sh
set -e
url="ftp://ftp.unicode.org/Public/15.0.0/ucd"
emoji_url="${url}/emoji/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