LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2007, 11:40 AM   #1
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
About Expect


Hi all,

I am using expect for some small scripts.
Can any one tell me the good site to learn expect very well. Beacuse i want to use that tool very effective
 
Old 09-25-2007, 04:54 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
What programming language are you using expect with? The usual way is with TCL, in which case you should spend some time to learn how to be an effective TCL coder. Good for you TCL is a really quick language to learn, thanks to it's elegant and small syntax.

Expect has bindings to other languages, notably Perl, so you should choose whatever language you are most competent with.

I found the documentation for expect to be quite limited when I did some testing automation a few years back, but the reference was adequate. I do not still have the links I used back then, so I'd be starting with google, which you would be better to do yourself. There are some examples and tutorials floating about, but not enough IMO.

If you have some success using expect (and I do not doubt you will, since it is really amazingly useful), consider writing up a tutorial yourself. It will help the world!
 
Old 09-25-2007, 09:29 PM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
There is an O'Reilly book, "Exploring Expect." It is by the author of the software, and is quite good. It might be a little dated now, but I don't think that keeps it from being a worthwhile investment if you want a book. The concepts and examples are still useful.

Typical configuration is Expect with TCL/Tk.

There are things it can do easily that are difficult with anything else.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use expect TomCruise2002 Linux - General 2 04-09-2017 08:00 AM
Expect.pm slamster Programming 1 04-18-2006 02:50 AM
expect - any other way? rooksin Programming 1 03-09-2006 10:26 PM
Expect how to? e-freak Programming 2 09-24-2005 04:49 AM
expect sk8guitar Programming 3 07-29-2003 09:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration