添加lua+luatinker

This commit is contained in:
2025-09-01 22:48:13 +08:00
parent 12c51b5ddb
commit 1fb319f0e8
108 changed files with 30276 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
-- make table, grouping all data for the same item
-- input is 2 columns (item, data)
local A
while 1 do
local l=io.read()
if l==nil then break end
local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$')
if a~=A then A=a io.write("\n",a,":") end
io.write(" ",b)
end
io.write("\n")