maranget / hevea

Hevea is a fast latex to html translator
http://hevea.inria.fr
Other
97 stars 12 forks source link

Leftover files with `-o -' #54

Open cspiel opened 3 years ago

cspiel commented 3 years ago

If we redirect hevea output to stdout one or more auxilliary files appear in the current working directory.

mkdir d
cd d
hevea -o - <<EOF  > /dev/null
\documentclass{article}
\begin{document}
\section{S}
\end{document}
EOF
ls

This is particularly unfunny if $PWD has no write premission.