mirror of
https://github.com/ivuorinen/imdbref.git
synced 2026-02-05 03:45:46 +00:00
2010-07-31
This commit is contained in:
18
run.sh
Executable file
18
run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
|
||||
FROM=iso-8859-1
|
||||
TO=UTF-8
|
||||
iconv -f $FROM -t $TO $1 > $1.utf8
|
||||
|
||||
# process and create .dot
|
||||
python process.py -f $1.utf8 > $1.dot
|
||||
|
||||
# do the image from the .dot
|
||||
#dot $1.dot -Tpng -v -o $1.png
|
||||
|
||||
# iconv -f original_charset -t utf-8 originalfile > newfile
|
||||
else
|
||||
echo "source needed"
|
||||
fi
|
||||
Reference in New Issue
Block a user