Mon, 06 Jul 2020 12:35:38 -0500
Rename path.lua mypath.lua not conflict with other lua path modules.
1 | 1 | |
2 | require('scan') | |
3 | ||
2 | 4 | h=scan.scan('/home/tuomov/work/newblog/src') |
1 | 5 | |
2 | 6 | scan.hfold(h, '', |
1 | 7 | function(a, n) return a.."/"..n end, |
2 | 8 | function(a, n) print(a.." | "..n) end) |
1 | 9 |