Re: combine shell and expect script

From: Thens (thens_at_NOSPAMti.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 13:27:45 +0530

On Fri, 18 Feb 2005 13:59:54 GMT
gazelle@yin.interaccess.com (Kenny McCormack) wrote:

> In article <20050218183336.4b3377dd@asiclindt001>,
> Thens <thens@NOSPAMti.com> wrote:
> #!/bin/sh
> expect -- /dev/fd/5 {yourargs} 5<<- 'X'
> {your expect program here}
> X
>

Does this assume file descriptor 5 is available. Is there any
significance to it.

Regards,
Thens.