OC-PsychOS2/exec/cat.lua

7 lines
110 B
Lua

local tA = {...}
for _,fn in ipairs(tA) do
local f = io.open(fn,"rb")
io.write(f:read("*a"))
f:close()
end