mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 11:51:01 +00:00
8 lines
169 B
Lua
8 lines
169 B
Lua
-- an implementation of printf
|
|
|
|
function printf(...)
|
|
io.write(string.format(...))
|
|
end
|
|
|
|
printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())
|