I have a simple LUA script that looks like:
local msg = "Hello, world! " .. tostring(ARGV[1])
return msg
I am on Windows and I call this script with redis-cli --eval hello.lua 0, "USA"
But I always get "Hello, world! nil"
How should I pass an argument to this test script?
redis-cli --eval hello.lua , USA(note that you do not need to specify the number of keys as everything before the comma is considered as such) - Itamar Haber