2 ms·
> What is that even supposed to do? In some sort of deploy scripts, converting a command "template" into the actual command by replacing a fixed string "<argum
by lifthrasiir 6y ago
> What is that even supposed to do?
In some sort of deploy scripts, converting a command "template" into the actual command by replacing a fixed string "<arguments>" into the escaped arguments (I know, this is not sufficient but also not the exact code, I've simplified it for the easier inspection). Now guess what's the problem without looking at the manual.
Also, don't say "use lpeg". Unless Lua supports a proper package system for every circumstance it's not a solution. Note that this deploy script runs in an embedded context, so no to luarocks and kins.