mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-25 19:32:52 +00:00

generate-unicode-tables.pl Perl v5.18 fix from:
01a28fc1f1
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
26 lines
594 B
Bash
Executable file
26 lines
594 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Note: This file is taken, and modified, from gucharmap - svn revision 1169
|
|
#
|
|
# usage: ./download-unicode-files.sh DIRECTORY
|
|
# downloads following files from unicode.org to DIRECTORY or unicode/ (if
|
|
# DIRECTORY is not presented):
|
|
# - UnicodeData.txt
|
|
# - Unihan.zip
|
|
# - NamesList.txt
|
|
# - Blocks.txt
|
|
# - Scripts.txt
|
|
#
|
|
|
|
# FILES='UnicodeData.txt Unihan.zip NamesList.txt Blocks.txt Scripts.txt'
|
|
|
|
FILES='UnicodeData.txt Blocks.txt Scripts.txt'
|
|
|
|
mkdir -p ${1:-unicode}
|
|
|
|
for x in $FILES; do
|
|
wget "http://www.unicode.org/Public/UNIDATA/$x" -O "${1:-unicode}/$x"
|
|
done
|
|
|
|
echo 'Done.'
|
|
|