TangentFox

cat v1.0.3

Aug 24th, 2019
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function cat(path)
  2.   local file = io.open(shell.resolve(path), "r")
  3.   print(file:read("*a"))
  4.   file:close()
  5. end
  6.  
  7. for i = 1, select("#", ...) do
  8.   cat(select(i, ...))
  9. end
RAW Paste Data