blob: 4575dc287f46d4b7d8e4b8690ec5db27704c422d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
echo \*\*\* You should see nothing below except for lines starting with \*\*\*:
for f in testFiles/*.txt
do
f=`perl -e '$_ = $ARGV[0]; s/\.txt//; s/.*\///; print;' $f`
if [ -e testFiles/$f.tex ]; then
rm testFiles/$f.tex;
fi
./easylatex.pl -e testFiles/$f.txt
echo \*\*\* diff $f.tex testFiles/$f.tex.correct:
perl -pi -e 's/easyLatexGraph\d+/easyLatexGraph/g;' $f.tex
diff $f.tex testFiles/$f.tex.correct
#rm $f.tex
done
|