adde /proc fs and working on install

This commit is contained in:
Astronand committed 2026-03-10 09:17:21 -04:00
1 parent f12159bfb9
commit 12669d9f82
5 files changed
+199 -27

No files matched your search

@@ -173,6 +173,27 @@ function table.indexOf(t, value)
return -1
end
function table.merge(...)
local args={...}
local out = {}
local outi = {}
for _,t in ipairs(args) do
for i,v in pairs(t) do
out[i]=v
end
for i,v in ipairs(t) do
outi[#outi+1]=v
end
end
for i,v in ipairs(outi) do
out[i]=v
end
return out
end
function string.replace(s, target, repl)
local result = {}
local i = 1