Re: combine shell and expect script
From: Thens (thens_at_NOSPAMti.com)
Date: 02/21/05
- Next message: GrantC: "Re: bash editor?"
- Previous message: Thens: "Re: combine shell and expect script"
- In reply to: Kenny McCormack: "Re: combine shell and expect script"
- Next in thread: Kenny McCormack: "Re: combine shell and expect script"
- Reply: Kenny McCormack: "Re: combine shell and expect script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: GrantC: "Re: bash editor?"
- Previous message: Thens: "Re: combine shell and expect script"
- In reply to: Kenny McCormack: "Re: combine shell and expect script"
- Next in thread: Kenny McCormack: "Re: combine shell and expect script"
- Reply: Kenny McCormack: "Re: combine shell and expect script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]