#!/bin/bash # A small test for the ShLaTeX script version="1.2b-en"; lignecom="ShLaTeX-$version -bib biblio.bib -toc -idx -dvips -z -2 -sep -no-tmp -no-m -8 -view -v-ps gv test.tex"; $lignecom if [ $? -ne 0 ] then echo -ne "> Error during the test!\n"; else echo -ne "> Test OK.\n"; fi echo -ne "> Command used :\n$lignecom\n";