luasocket/gem/ex4.lua

6 lines
212 B
Lua
Raw Permalink Normal View History

2007-10-11 23:16:28 +02:00
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)