- Taschenbuch: 602 Seiten
- Verlag: O'Reilly & Associates; Auflage: 1 (1. Dezember 1994)
- Sprache: Englisch
- ISBN-10: 1565920902
- ISBN-13: 978-1565920903
- Größe und/oder Gewicht: 17,8 x 3,3 x 23,3 cm
- Durchschnittliche Kundenbewertung: 8 Kundenrezensionen
- Amazon Bestseller-Rang: Nr. 130.402 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
- Komplettes Inhaltsverzeichnis ansehen
Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs (Nutshell Handbooks) (Englisch) Taschenbuch – 1. Dezember 1994
|Neu ab||Gebraucht ab|
Kunden, die diesen Artikel gekauft haben, kauften auch
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Wenn Sie dieses Produkt verkaufen, möchten Sie über Seller Support Updates vorschlagen?
Written by the author of Expect, this book explains how this part of the UNIX toolbox can be used to automate TelNet, FTP, PASSWD, RLOGIN and other interactive applications. Based on TCL (tool control language), Expect lets the user automate interactive applications that have previously been extremely difficult to handle with any scripting language.
Über den Autor und weitere Mitwirkende
Don Libes is married to Susan Mulroney, a professor in the Department of Physiology and Biophysics at the Georgetown University School of Medicine. Sue performs research in the area of kidney growth and development. Their well-hydrated daughter, Kenna, has two lovely kidneys.
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.
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!
I like how the author addresses issues of portability without obsessing on it.
I really like the Exercises at the end of each chapter. I only wish the author would apply a difficulty rating to each exercise because sometimes I can't tell if an exercise is intrinsically very difficult (some are definitely so) or if I need to review parts of the chapter to see why I can't just instantly 'get it.' In any event, the exercises are stimulating and would require a long time and careful thought to do them all. I would buy a book that had the answers, with commentary, to all the exercises.
The index randomly references word matches within paragraphs instead of topical sections. (Someone must have used a blind "find" function since the index was obviously an afterthought.)
A language with such a narrow purpose and small command set shouldn't require nearly 600 conversational pages. I admit I didn't give this book much of a chance, but as my only available reference to this subject, I am very frustrated. I loved the O'Reilly Perl book. How could they have strayed so badly with this one?
Möchten Sie weitere Rezensionen zu diesem Artikel anzeigen?