Tue, 16 Jan 2018 16:39:48 +0000
Convert module stuff to lua 5.3
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 |