4 Nov
2014
4 Nov
'14
7:55 a.m.
On Mon, 3 Nov 2014 14:31:17 +0100
Xan
It does not work:> \documentclass{article}
\begin{document} \directlua{ local handle = io.popen("sha256sum \jobname.tex | cut -c -5","r") if handle then local result = handle:read("*all") or "" handle:close() tex.print(result) end } \end{document}
Neither this:
\directlua{ require "lualibs-os" tex.sprint(os.resultof("sha256sum \jobname.tex | cut -c -5")) }
Blank. Nothing displayed.