OC-PsychOS2/exec/cat.lua

7 lines
110 B
Lua
Raw Normal View History

2019-01-08 18:09:04 +11:00
local tA = {...}
for _,fn in ipairs(tA) do
local f = io.open(fn,"rb")
io.write(f:read("*a"))
f:close()
end