So according to the docs a command written over many lines will expand to multiple parameters. This disagrees with the bash behaviour. For example
hello.lua:
local msg = "Hello, world!"
return msg
fish>
redis-cli EVAL (cat hello.lua) 0
Fails -
Whereas redis-cli EVAL "$(cat hello.lua)" 0
will succeed in bash. My question is how to prevent the (cat hello.lua)
substitution from splitting into multiple parameters due to line breaks?