
Dear Rasmus,
In message 823e5d31-7022-346e-b3a3-e36a4a295764@prevas.dk you wrote:
Though I'd probably make it
run varname -- arg1 arg2 arg3
Or rather
run arg1 arg2 ... -- varname1 varname2 ...
instead: Just use -- as a separator [that has precedent as "stop doing X, use the rest as argv", though X is normally "interpret options" and now it would be "read function names to run"], and only allow a single "function" to be called. Otherwise, I don't there's any natural answer to whether all the varnameX or only the last should be called with the positional arguments.
"run" has always taken any number of vaiable names to run, and this behaviour should be kept. If there are arguments, these are the same for all of these. If you need indivisual argument settings, you must break the sommand in parts combined with &&.
Best regards,
Wolfgang Denk