for i in amstex \ blue \ calatex \ cslatex \ csplain \ cylatex \ delatex \ dklatex \ ellatex \ eplain \ eslatex \ etlatex \ filatex \ frlatex \ gblatex \ hrlatex \ hugelatex \ hulatex \ itlatex \ latex \ latex209 \ lollipop \ nelatex \ nolatex \ physe \ phyzzx \ plain \ pllatex \ psizzl \ rolatex \ jadetex \ selatex \ silatex \ text1 \ ytex do echo Testing format $i echo '\end{document}' | tex \&$i done echo '\end{document}' | pdflatex \&pdflatex echo '\end{document}' | pdftex \&pdftex echo '\end{document}' | jadetexpdf echo '\end{document}' | etex \&etex