repo.or.cz
/
timetab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added new changed files.
[timetab.git]
/
tt-batch-decode
blob
7305fad35860fb31c6f9a3cbafcb8d4fb570ca17
1
#!/bin/bash
2
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