luasocket/gem/ex8.lua

6 lines
162 B
Lua
Raw Permalink Normal View History

2007-10-11 23:16:28 +02:00
local input = source.file(io.stdin)
local output, t = sink.table()
output = sink.chain(normalize(CRLF), output)
pump.all(input, output)
io.write(table.concat(t))