]> git.saurik.com Git - redis.git/blob - deps/lua/test/env.lua
A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32...
[redis.git] / deps / lua / test / env.lua
1 -- read environment variables as if they were global variables
2
3 local f=function (t,i) return os.getenv(i) end
4 setmetatable(getfenv(),{__index=f})
5
6 -- an example
7 print(a,USER,PATH)