]> git.saurik.com Git - redis.git/blame_incremental - deps/lua/test/env.lua
Query the archive to provide a complete KEYS list.
[redis.git] / deps / lua / test / env.lua
... / ...
CommitLineData
1-- read environment variables as if they were global variables
2
3local f=function (t,i) return os.getenv(i) end
4setmetatable(getfenv(),{__index=f})
5
6-- an example
7print(a,USER,PATH)