cmd_template_replace
s = cmd_template_replace(expanded, argv[i], i + 1);
new_cmd = cmd_template_replace(cmd, argv[i], i + 1);
replaced = cmd_template_replace(line, item, 1);
command = cmd_template_replace(template, name, 1);
command = cmd_template_replace(data->command, target, 1);