Debian Codegraph @

vendor/onigmo-source/tool/download-ucd.sh

raw symbols SCIP
1 #!/bin/bash
2
3 files='Blocks.txt CaseFolding.txt DerivedAge.txt DerivedCoreProperties.txt PropertyAliases.txt PropertyValueAliases.txt PropList.txt Scripts.txt SpecialCasing.txt UnicodeData.txt auxiliary/GraphemeBreakProperty.txt'
4
5 if [ -z $1 ]; then
6 echo "usage: $0 UNICODE_VERSION"
7 exit 1
8 fi
9 UNICODE_VERSION=$1
10
11 # remove old files
12 if [ -d $UNICODE_VERSION ]; then
13 cd $UNICODE_VERSION
14 rm ${files//auxiliary\//}
15 cd -
16 fi
17
18 mkdir -p $UNICODE_VERSION
19 cd $UNICODE_VERSION
20
21 for i in $files; do
22 echo http://www.unicode.org/Public/${UNICODE_VERSION}/ucd/$i
23 done | xargs wget