File: ex4.lua

package info (click to toggle)
luasocket 3.0~rc1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,144 kB
  • ctags: 995
  • sloc: ansic: 4,059; makefile: 268; sh: 116
file content (5 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (5)
1
2
3
4
5
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)