mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-12 16:28:22 +01:00
6 lines
162 B
Lua
6 lines
162 B
Lua
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))
|