lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi, list!

In my utility Lua script I need to iterate recursively over a
directory and find all *.lua files.

I'm doing this with lfs now, but I want my script to work on pure Lua
without any 3rd party modules. I need it to work on Linux, OS X and
Windows systems.

I think I should use os.execute with output, piped into a temporary
file (sine io.popen doesn't work on Windows).

Before I start implementing this myself, perhaps there is an existing solution?