Added new changed files.
[timetab.git] / tt-batch-decode
blob7305fad35860fb31c6f9a3cbafcb8d4fb570ca17
1 #!/bin/bash
3 rm -rf dec
4 mkdir dec
5 decoder=`pwd`/tt-decode
6 for src in ext/* ; do
7 dst=`echo $src | sed 's/^ext/dec/'`.out
8 echo -n "Decoding $src to $dst ... "
9 ( cd $src ; $decoder ) | iconv -f windows-1250 -t utf8 >$dst && echo OK || echo FAILED
10 done