Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
50 used & new from $16.99

Have one to sell? Sell yours here
 
   
Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks) (Paperback)

by Don Libes (Author)
3.6 out of 5 stars See all reviews (27 customer reviews)

List Price: $34.95
Price: $23.07 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.88 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
35 new from $18.45 15 used from $16.99
Also Available in: List Price: Our Price: Other Offers:
Paperback (1st) Order it used!
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks) + Practical Programming in Tcl and Tk (4th Edition) + Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series)
Price For All Three: $119.76

Show availability and shipping details


Customers Who Bought This Item Also Bought


Editorial Reviews

Product Description
Written by the author of Expect, this is the first book to explain how this part of the UNIX toolbox can be used to automate Telnet, FTP, passwd, rlogin, and hundreds of other interactive applications. Based on Tcl (Tool Command Language), Expect lets you automate interactive applications that have previously been extremely difficult to handle with any scripting language. The book briefly describes Tcl and how Expect relates to it. It then describes the Expect language, using a combination of reference material and specific, useful examples of its features. It shows how to use Expect in background, in multiple processes, and with standard languages and tools like C, C++, and Tk, the X-based extension to Tcl. The strength in the book is in its scripts, conveniently listed in a separate index.

From the Publisher
Expect is quickly becoming a part of every UNIX user's toolbox. It allows you to automate Telnet, FTP, passwd, rlogin, and hundreds of other applications that normally require human interaction. Using Expect to automate these applications will allow you to speed up tasks and, in many cases, solve new problems that you never would have even considered before. For example, you can use Expect to test interactive programs with no changes to their interfaces. Or wrap interactive programs with Motif-like front-ends to control applications by buttons, scrollbars, and other graphic elements with no recompilation of the original programs. You don't even need the source code! Expect works with remote applications, too. Use it to tie together Internet applications including Telnet, Archie, FTP, Gopher, and Mosaic. Don Libes is the creator of Expect as well as the author of this book. In Exploring Expect, he provides a comprehensive tutorial on all of Expect's features, allowing you to put it immediately to work on your problems. In a down-to-earth and humorous style, he provides numerous examples of challenging real-world applications and how they can be automated using Expect to save you time and money. Expect is the first of a new breed of programs based on Tcl, the Tool Command Language that is rocking the computer science community. This book provides an introduction to Tcl and describes how Expect applies Tcl's power to the new field of interaction automation. Whether your interest is in Expect or interaction automation or you simply want to learn about Tcl and see how it has been used in real software, you will find Exploring Expect a treasure trove of easy-to-understand and valuable information.

See all Editorial Reviews

Product Details

  • Paperback: 602 pages
  • Publisher: O'Reilly Media, Inc.; 1st edition (December 1, 1994)
  • Language: English
  • ISBN-10: 1565920902
  • ISBN-13: 978-1565920903
  • Product Dimensions: 9 x 7 x 1.1 inches
  • Shipping Weight: 2.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars See all reviews (27 customer reviews)
  • Amazon.com Sales Rank: #64,544 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #86 in  Books > Computers & Internet > Operating Systems > Unix
    #98 in  Books > Computers & Internet > Operating Systems > Linux

Look Inside This Book


What Do Customers Ultimately Buy After Viewing This Item?

Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks)
91% buy the item featured on this page:
Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks) 3.6 out of 5 stars (27)
$23.07
Practical Programming in Tcl and Tk (4th Edition)
3% buy
Practical Programming in Tcl and Tk (4th Edition) 3.5 out of 5 stars (41)
$52.29
Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series)
2% buy
Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series) 4.4 out of 5 stars (11)
$44.40
Tcl and Tk Programming for the Absolute Beginner
2% buy
Tcl and Tk Programming for the Absolute Beginner 3.2 out of 5 stars (5)
$21.89

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(3)
(3)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

27 Reviews
5 star:
 (9)
4 star:
 (6)
3 star:
 (6)
2 star:
 (5)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (27 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
14 of 15 people found the following review helpful:
4.0 out of 5 stars A completely different tool, July 17, 2000
By Steve Wainstead (Jackson Heights, NY United States) - See all my reviews
Expect is completely unlike any other tool I have ever used. Think of any language you've used and how long it would take to: write a program that can update 1000 user passwords on 20 different machines; make two chess programs play each other; connect two users to the same shell program and type at the same time; allow you to rewrite the command arguments to any command line tool?

Expect really does make all these things trivial. It takes a lot of patience to master this tool though; Tcl is a very unforgiving and terse language. I've done things in Expect that I never thought were possible: I scripted Minicom (a modem term program that uses ncurses) to answer a phone after 7 seconds, and either: receive a zmodem file or send a login prompt. Then hang up the modem and wait again. Try that in a shell or systems language!

It's unfortunate that Expect is such a radically different beast and takes so long to understand; every person running regression tests or doing systems administration will benefit from this book. While it may not be great for just "looking up" things, search Usenet for all of the author's posts (comp.lang.tcl) and his answer is almost always, "This is on page XXX of the book." Because the book really does cover everything Expect does!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 12 people found the following review helpful:
5.0 out of 5 stars Wish all books were this well-written, April 14, 2000
This book is terrific. Libes writes very smoothly. Everything is answered and just at the right time - whenever I was wondering about a point, I would turn the page and find my question to be the next topic covered!

I really thought Expect was a simple-minded thing. Then I had a question about how to do something. I was bemoaning my problem one day when a coworker thrust this book into my hand and said "Read it!" Wow - not only did it have my exact scenario as an example but now I see Expect can do so many more cool things. I originally thought Expect was just good for telnet. But Libes shows examples applying it to all sorts of other programs. The breadth of the examples alone is incredible. It's obvious that Libes has really been around and poured all his wisdom and experience into this book.

I also liked the special command and variable index (the book calls it "Appendix") which is a 2nd index that takes you directly to where each command and option and variable is definitively described. There is also a third index of just the examples - some of them are useful in their own right (apart from demonstrating some concept). Between these and the regular index, it is always easy to find things later.

I wish all tech books were written this well.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 8 people found the following review helpful:
5.0 out of 5 stars No alternatives, December 29, 2000
By Ruslan Moskalenko (Lafayette, CA United States) - See all my reviews
When I discovered Perl I though it's a quick and dirty way to automate admin tasks. I was wrong. The really quick and dirty way is Expect. Expect works like Helpdesk hotline. You call them and they ask you what you see and tell you what you should type. Sometimes you just have no alternatives especially if you're short on time. But the language is pretty tricky (e.g. if you want to look for '$' in regexp, you should use '\\\$' pattern, etc) and I couldn't learn it using just examples included in the distribution package. Then I spent some time searching for the good tutorial and this book was the best I found. Expect is surprisingly poorly documented and I didn't find any other books about it. There are some articles in the Internet, but usually they don't give you the whole picture. This book includes many examples, easy stuff in the beginning to get you started and very advanced in the end. That's everything you need to learn expect and it's written pretty friendly. In some places it's very informal but not too much.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

5.0 out of 5 stars Very readable!
This was a great book to get started with expect. I was writing scripts in about an hour. I primarily wanted to learn expect to work with Cisco Routers and this was a great... Read more
Published 6 months ago by Brandon Carroll

3.0 out of 5 stars Powerful tool, painful book
I picked up Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks) to get started on a regression-testing framework for common Unix... Read more
Published 13 months ago by Michael Ernest

5.0 out of 5 stars best reference to Expect
Exploring Expect delivers as the essential reference for any programmer who uses Expect for automation. Read more
Published on February 10, 2007 by M. Rumore

3.0 out of 5 stars Exploring Expect (1994) good but badly needs updating
Expect is a language that allows users to simulate users for the purpose of automating certain tasks. Read more
Published on November 22, 2006 by Kevin Benton

4.0 out of 5 stars Cool
Have you ever wondered how to create 12000 principle in kerberos from a list of username and passwords, maybe the data is stored in some mysql database? Read more
Published on December 17, 2005 by Wole Akpose

4.0 out of 5 stars Good Introduction
I came across Expect while I was trying to find a programming language to automate certain tasks in my experiments. Read more
Published on March 10, 2005 by Gunes Kayacik

4.0 out of 5 stars Nice reference to have
The good thing about this book is that it gives one a basic back ground of TCL before delving into Expect which, makes it an excellent "quick" reference book to have on... Read more
Published on March 18, 2004 by Jayant Dasari

2.0 out of 5 stars No other choice
If you are a beginner and you survived using this book, consider it as an accomplishment. This book is quite difficult to understand, it takes a lot of testing. Read more
Published on June 12, 2003 by Rogelio R. Posadas Jr.

2.0 out of 5 stars No other choice
If you are a beginner and you survived using this book, consider it as an accomplishment. This book is quite difficult to understand, it takes a lot of testing. Read more
Published on June 12, 2003 by Rogelio R. Posadas Jr.

2.0 out of 5 stars Anticipate a long and painful reading session
I bought the book because I needed to create a script with Expect quickly, and nothing on the web really took me step-by-step through what I needed to do. Read more
Published on May 13, 2003

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


$15 Off Olay, Pantene, and More

$15 Off Olay, Pantene, and More
This July, enjoy an extra $15 off select skin and hair care from favorite brands such as Olay, Pantene, Secret, and Ivory.

Shop this offer now

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Generate Power

Shop for Portable Generators
When temporary or remote electric power is required, a portable generator provides the electricity you need.

Shop for portable generators

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates