mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-19 19:58:20 +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))
|