test.lua

Mon, 06 Jul 2020 09:36:27 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 06 Jul 2020 09:36:27 -0500
changeset 20
3b937ef20faa
parent 2
3975fa5ed630
permissions
-rw-r--r--

Add .hgignore


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)
      

mercurial