OC-PsychOS/exec/cat.lua

6 lines
82 B
Lua

local tA = {...}
local p = tA[1]
local f=io.open(p)
print(f:read("*a"))
f:close()