Re: [EXPECT] Reading a response into a variable
From: Chris (creynolds_at_mfncuso.org)
Date: 08/05/04
- Previous message: Donald Arseneau: "Re: Newbie question about curly braces"
- In reply to: Earl Grieda: "Re: [EXPECT] Reading a response into a variable"
- Next in thread: Cameron Laird: "Re: [EXPECT] Reading a response into a variable"
- Reply: Cameron Laird: "Re: [EXPECT] Reading a response into a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Aug 2004 06:31:37 -0700
"Earl Grieda" <egrieda@WAHOOyahoo.com> wrote in message news:<DzkQc.9708$9Y6.4107@newsread1.news.pas.earthlink.net>...
> "Chris" <creynolds@mfncuso.org> wrote in message
> news:51e2b290.0408041045.7736ec4f@posting.google.com...
> > I'm currently using EXPECT to automate a telnet session that is a
> > daily occurence for our office. Is there a way for me to capture the
> > entire string that responds after I issue a send command? In other
> > words, how can I capture the entire string that expect uses to find my
> > expect qualifier?
> >
> > Thanks
>
> Chris, if you are using Expect then I would think that you have some sort of
> documentation. If so the answers to your questions are in that
> documentation. This is because your 2 questions are the most trivial and
> basic of Expect operations.
>
> If you do not yet have it then buy Exploring Expect by Don Libes
> http://www.amazon.com/exec/obidos/tg/detail/-/1565920902/qid=1091687640/sr=1-1/ref=sr_1_1/102-0952703-3960966?v=glance&s=books
>
> Believe me, if you use Expect to any degree you will need this book.
>
> Earl G
Thank you for your responses! I was having a difficult time
understanding the MAN page for this. I got the script to work, and I
think I might go ahead and buy the O'reilly book. Looks like Expect
and TCL can be very useful in our offices. Thanks again!
- Previous message: Donald Arseneau: "Re: Newbie question about curly braces"
- In reply to: Earl Grieda: "Re: [EXPECT] Reading a response into a variable"
- Next in thread: Cameron Laird: "Re: [EXPECT] Reading a response into a variable"
- Reply: Cameron Laird: "Re: [EXPECT] Reading a response into a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|