Index: 残局文料/lua_lib/常用库.lua ================================================================== --- 残局文料/lua_lib/常用库.lua +++ 残局文料/lua_lib/常用库.lua @@ -73,22 +73,22 @@ function d_4.全筛后缀(o1, o2) if string.sub(o1, -#o2) == o2 then return o1 end end ---~ 目表 -function d_4.用令行工具操文件(o1) +--~ 目对 +function d_4.用令行工具操文件(o1_0) local k1_9 --~ 令行排 - k1_9 = d_4.历文(o1.文件目, 简文件库.dir) - k1_9 = d_4.历排(k1_9, d_4.全筛后缀, o1.文件类) - for o2 = 1, #k1_9 do - k1_9[o2] = d_4.加前缀(k1_9[o2], o1.文件目) - k1_9[o2] = d_4.加前缀(k1_9[o2], [["]]) - k1_9[o2] = d_4.加后缀(k1_9[o2], [["]]) - k1_9[o2] = d_4.加前缀(k1_9[o2], o1.令行前缀) - d_4.办令(k1_9[o2]) + k1_9 = d_4.历文(o1_0.文件目, 简文件库.dir) + k1_9 = d_4.历排(k1_9, d_4.全筛后缀, o1_0.文件类) + for o1 = 1, #k1_9 do + k1_9[o1] = d_4.加前缀(k1_9[o1], o1_0.文件目) + k1_9[o1] = d_4.加前缀(k1_9[o1], [["]]) + k1_9[o1] = d_4.加后缀(k1_9[o1], [["]]) + k1_9[o1] = d_4.加前缀(k1_9[o1], o1_0.令行前缀) + d_4.办令(k1_9[o1]) end end --~ 文件路 --~ 式 function d_4.读文件(o1, o2)