local path = ... local function main() if path == nil then print("Usage: cat ") return end local file = fs.open(path, "r") if file == nil then print("No such file:", path) return end local content = file.readAll() print(content) end main()