On Sun, Apr 18, 2010 at 9:25 PM, Sergei Golovan <[email protected]> wrote: > > Though I'm not sure if this behavior is wrong. It's just different. > So, may be the correct way is to fix expect script? The following > script works fine on Linux and FreeBSD: > > spawn echo blubb > expect { > eof {puts [wait]} > }
And the following script hangs both on Linux and FreeBSD kernels: spawn echo [string repeat a 10000] puts [wait] Cheers! -- Sergei Golovan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

