test.lua@77cd7b8fb6a6
test.lua
Mon, 06 Jul 2020 12:35:38 -0500
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Mon, 06 Jul 2020 12:35:38 -0500
- changeset 26
- 77cd7b8fb6a6
- parent 2
-
3975fa5ed630
- permissions
- -rw-r--r--
Rename path.lua mypath.lua not conflict with other lua path modules.
require('scan')
h=scan.scan('/home/tuomov/work/newblog/src')
scan.hfold(h, '',
function(a, n) return a.."/"..n end,
function(a, n) print(a.." | "..n) end)