mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 14:28:21 +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))
|