summaryrefslogblamecommitdiffstats
path: root/tlgu/convert.sh
blob: 053bf9d40770bb0a750b1ced3a8076bbf4f65367 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                
#!/bin/sh
#
# usage example: ./convert.sh /mnt/cdrom/PHI7/ddp
#
#./tlgu -r -Z Z:%Z/y:%y/z:%z/a%a/b%b/c%c/d%d/n%n/x%x/D%D/L%L/R%R/T%T/ $i tmp.out
#

echo "" > all.out
for i in $1[0-8]*.txt
do
./tlgu -e 0 -Z \$\$\$/%d/%c/%Z/%y/%z\\n $i tmp.out
cat tmp.out >> all.out
done