On Fri-2009/06/26-18:34 Nelgin wrote: > screen -S machine1 -X stuff "who^J" > > This works. However if I put it in for a for look > > for i in `cat serverlist` > do > screen -S $i -X stuff "who^J" > done > > It doesn't. Nothing gets sent to the screen sessions at all.
I'd write: >>screen -S "$i" -X stuff "who^J"<<, ie. quote the variable as well. But for testing, try >>echo screen -S "$i" -X stuff "who^J"<<. This will show the command as the shell sees it. Is the "^J" a literal newline or the two characters "^" and "J" in both cases? clemens, being late, he knows. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users