From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- examples/redis-unstable/deps/lua/test/printf.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/redis-unstable/deps/lua/test/printf.lua (limited to 'examples/redis-unstable/deps/lua/test/printf.lua') diff --git a/examples/redis-unstable/deps/lua/test/printf.lua b/examples/redis-unstable/deps/lua/test/printf.lua new file mode 100644 index 0000000..58c63ff --- /dev/null +++ b/examples/redis-unstable/deps/lua/test/printf.lua @@ -0,0 +1,7 @@ +-- 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()) -- cgit v1.2.3