Hold it. We all are just poking in the dark.
Please draw the entire picture, including sensible error messages. An execution log of the program run (set
-x option) might be helpful.
Pls show
- the meaning of "shows up at the top of the log"
- the contents of /usr/shells/remote.list
- the result / contents of in=$4
- the meaning of -nnnnnn.txt
- the meaning of bb123456 and bb998877
- the files existing in the target directory on the targets node(s)
You may want to try to enclose the
$cmdname in double quotes in the
rcmd command.