add more spacing
[personal-kdebase.git] / workspace / kcontrol / kfontinst / viewpart / download-unicode-files.sh
blob440f039e933b4aa0b30a63925660c7a8a59c0848
1 #!/bin/sh
3 # Note: This file is tkaen, and modified, from gucharmap - svn revision 1169
5 # usage: ./download-unicode-files.sh DIRECTORY
6 # downloads following files from unicode.org to DIRECTORY or unicode/ (if
7 # DIRECTORY is not presented):
8 # - UnicodeData.txt
9 # - Unihan.zip
10 # - NamesList.txt
11 # - Blocks.txt
12 # - Scripts.txt
15 # FILES='UnicodeData.txt Unihan.zip NamesList.txt Blocks.txt Scripts.txt'
17 FILES='UnicodeData.txt Blocks.txt Scripts.txt'
19 mkdir -p ${1:-unicode}
21 for x in $FILES; do
22 wget "http://www.unicode.org/Public/UNIDATA/$x" -O "${1:-unicode}/$x"
23 done
25 echo 'Done.'