lua-users home
lua-l archive

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


> lua -e'table.foreach(require "os", print)'
> 
> Not as pretty, but it'll work.

Not in Lua 5.2, when you need this:
	lua -e'for k,v in pairs(require"os") do print(k,v) end'