1rm -f figs1.mpx 2rm -f figs2.mpx 3for mp in figs1.mpx figs2.mpx ; do mpb=`basename ${mp} .mpx` ; for f in ${mpb}.ps ${mpb}.[0-9]* "" ; do if test "X$f" != "X" ; then fn=`basename $f .ps` ; fn=${fn}.pdf ; rm -f $f ; fi ; done ; done 4if [ -f test2.www_files ]; then for f in `awk '{print $2}' test2.www_files` ; do if [ -f $f ]; then rm -f $f ; fi ; done ; fi 5rm -f test2.www_files 6rm -f test2.html_dir/images.aux 7rm -f test2.html_dir/images.bbl 8rm -f test2.html_dir/images.log 9rm -f test2.html_dir/images.out 10rm -f test2.html_dir/images.tex 11if [ -d test2.html_dir ]; then rm test2.html_dir ; fi 12latex-mk --clean test2 13rm -f *~ texput.log test2.aux test2.ps test2-draft.ps test2.pdf test2-draft.pdf test2.rtf test2.aux test2.log test2.dvi test2.log test2.bbl test2.blg test2.glo test2.gls test2.ilg test2.idx test2.ind test2.lof test2.lot test2.toc test2.out draft_stamp.ps test2.bib-stamp test2.html-stamp test2.www_files test2.haux test2.image.tex 14