On 10.01.2014 21:11, John Keeping wrote: > Forking and using Lua in the child is an interesting idea. > > I need to investigate how Lua generally deals with I/O, but it feels > like it will be simpler to use a simple function interface than deal > with slurping in the input in Lua.
Looks rather easy to slurp stdin (from http://www.lua.org/pil/21.1.html): > t = io.read("*all") -- read the whole file > t = string.gsub(t, ...) -- do the job > io.write(t) -- write the file
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
