Overview
Comment: | 完成 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e94f91e6b33cb540e3ed63163d32cada |
User & Date: | 顽雨沉风 on 2024-02-03 04:38:05 |
Other Links: | manifest | tags |
Context
2024-02-03
| ||
04:38 | 删冗 check-in: edd6ff0c1c user: 顽雨沉风 tags: trunk | |
04:38 | 完成 check-in: e94f91e6b3 user: 顽雨沉风 tags: trunk | |
04:32 | 加宽 check-in: e6ccf9f6b1 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/lua_lib/常用库.lua from [2bb6edceb7] to [51429b29ac].
︙ | |||
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | + + + + + + + + + + + + + + + + + | --~ 入参3 --~ 入参4 function d_4.全筛文(o1, o2, o3, o4) if o1:find(o2, o3, o4) then return o1 end end --~ 文 --~ 前缀 function d_4.加前缀(o1, o2) return (o2 or "") .. o1 end --~ 文 --~ 后缀 function d_4.加后缀(o1, o2) return o1 .. (o2 or "") end --~ 令 function d_4.办令(o1) print(o1) os.execute(o1) end --~ 目表 function d_4.用令行工具操文件(o1) local k1_9 --~ 令行排 k1_9 = d_4.历文(o1.文件目, 简文件库.dir) k1_9 = d_4.历排(k1_9, d_4.全筛文, o1.文件类, -#o1.文件类, true) 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]) end end return d_4 |