luasocket/gem/ex4.lua
2007-10-11 21:16:28 +00:00

6 lines
212 B
Lua

local qp = filter.chain(normalize(CRLF), encode("quoted-printable"),
wrap("quoted-printable"))
local input = source.chain(source.file(io.stdin), qp)
local output = sink.file(io.stdout)
pump.all(input, output)