[expect] using the previous output as input
kostas_at_hotmail.nospam
Date: 08/12/04
- Next message: Simon White: "Deletion on itcl widgets"
- Previous message: Michael Schlenker: "Re: How to uninstall Tcl?"
- Next in thread: Sektor van Skijlen: "Re: [expect] using the previous output as input"
- Reply: Sektor van Skijlen: "Re: [expect] using the previous output as input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 12 Aug 2004 17:58:11 +0000 (UTC)
Hello!
How can i use the output of the remote program as the input
of an expect send clause?
For example, the remote program responds with:
My name is lampros
(while "lampros" is a totally random name)
I want to send back to the remote program something like:
Hello, lampros and have a nice day.
How can I accomplish that?
Thanks
- Next message: Simon White: "Deletion on itcl widgets"
- Previous message: Michael Schlenker: "Re: How to uninstall Tcl?"
- Next in thread: Sektor van Skijlen: "Re: [expect] using the previous output as input"
- Reply: Sektor van Skijlen: "Re: [expect] using the previous output as input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|