On Saturday 03 October 2009 11:34:32 clemens fischer wrote:
> Is the "^J" a literal newline or the two characters
> "^" and "J" in both cases?
Screen itself interprets the two characters "^" and "J" as a newline. So type
the command with the two characters, and when the "stuff" command is execut
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 "