added the touch app

This commit is contained in:
Ponali
2025-10-04 14:08:36 +02:00
parent a89953056b
commit db01a8d741
3 changed files with 33 additions and 2 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
local files = {...}
local files = { ... }
local shell = require("shell")
local fs = require("filesystem")
if not files or not files[1] then
shell.run("help cat")
return
end
for _, file in ipairs(files) do
for _, file in ipairs(files) do
if file:sub(1, 1) ~= "/" then
file = fs.concat(shell.getWorkingDirectory(), file)
end