luasocket/gem/ex4.lua
2022-03-19 17:13:15 +03:00

6 lines
211 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)