scyther/src/testl

23 lines
370 B
Plaintext
Raw Normal View History

2004-04-23 11:58:43 +01:00
#!/bin/bash
#
# Shell script to display the latex output relatively quickly. For
# internal testing only, as it depends on the spdl subdirectory.
#
# Usage example:
#
# ./testl ns3
#
2004-04-23 13:59:25 +01:00
file=../spdl/$1.spdl outfile=tempattack
2004-04-23 11:58:43 +01:00
if [ -f $file ]
then
2004-04-23 13:59:25 +01:00
./scyther --latex $file -o $outfile.tex
2004-04-23 11:58:43 +01:00
latex $outfile.tex
xdvi $outfile.dvi
else
echo "No file $file found."
fi