Ben Sturmfels at 2017-12-05T23:13:00Z
@dw the "%s\n" is a format string. The die function takes the variable slaveresult, and stuffs it in place of the %s - basically adding a new line after the error message. Is that what you're asking about?
"%s\n"
die
slaveresult
%s