Would you like to see this page in English? Click here.


または
1-Clickで注文する場合は、サインインをしてください。
こちらからも買えますよ
この商品をお持ちですか? マーケットプレイスに出品する
Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs (Nutshell Handbook)
 
 

Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs (Nutshell Handbook) [ペーパーバック]

Don Libes
5つ星のうち 5.0  レビューをすべて見る (1 カスタマーレビュー)
参考価格: ¥ 3,318
価格: ¥ 2,997 通常配送無料 詳細
OFF: ¥ 321 (10%)
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
通常2~3週間以内に発送します。 在庫状況について
この商品は、Amazon.co.jp が販売、発送します。 ギフトラッピングを利用できます。

キャンペーンおよび追加情報

  • 掲載画像とお届けする商品の表紙が異なる場合があります。ご了承ください。


この商品をチェックした人はこんな商品もチェックしています


商品の説明

内容説明

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.

The publisher, O'Reilly and Associates

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.

登録情報

  • ペーパーバック: 606ページ
  • 出版社: Oreilly & Associates Inc (1994/12)
  • 言語 英語, 英語, 英語
  • ISBN-10: 1565920902
  • ISBN-13: 978-1565920903
  • 発売日: 1994/12
  • 商品の寸法: 23.2 x 17.8 x 3.3 cm
  • おすすめ度: 5つ星のうち 5.0  レビューをすべて見る (1 カスタマーレビュー)
  • Amazon ベストセラー商品ランキング: 洋書 - 12,232位 (洋書のベストセラーを見る)
  •  カタログ情報、または画像について報告

  • 目次を見る

この本のなか見!検索より (詳細はこちら
この本のサンプルページを閲覧する
おもて表紙 | 著作権 | 目次 | 抜粋 | 索引 | 裏表紙
この本の中身を閲覧する:

この商品につけられているタグ

 (詳細)
タグをクリックすると、タグがつけられた商品、タグをつけた人が表示されます。※タグは初期設定で公開になっています。詳しくはこちら
 

 

カスタマーレビュー

星4つ
0
星3つ
0
星2つ
0
星1つ
0
最も参考になったカスタマーレビュー
2 人中、2人の方が、「このレビューが参考になった」と投票しています。
形式:ペーパーバック
まずはExpectの紹介。

サーバ管理業務・開発業務での自動化を行うとき、telnetやftpが必要になったところで、断念したりターミナルソフトのマクロ機能を使ったりしたことは無いでしょうか?

ターミナルソフトのマクロのようなスクリプト言語は無いのでしょうか?
あります。日本語書籍で紹介されていないだけです。

Expectでftpの処理を、マクロ風に書くならこんな感じです。

---
 #! /usr/bin/expect
 spawn ftp ftp.xx.com
 expect "Name"
 send "anonymous\r"
---

通信NG時の処理を加えるなら以下のようになります。
---
 #! /usr/bin/expect
 spawn ftp ftp.xx.com
 expect {
  "Name" {send "anonymous\r"}
  "unknown host" exit
  " Connection refused" exit
 }
---

Expectは一般的なターミナルマクロに対して、特に以下の点が優れています。
 ・正規表現による文字列監視が可能
 ・複数プロセスの同時監視が可能
 ・一時的なユーザ入力処理の管理が可能
 ・C/C++へのライブラリがある

本書は、このExpectの全般を網羅する唯一の書籍です。
洋書ですからもちろん英語ですが、比較的平易ですし、man は日本語がありますので、挑戦してみる価値はあります。

ExpectはTclをベースとしているため、Tclの言語知識が必要ですが、本書では一つの章でこれの説明を記載しています。

会話側処理の自動化を目指す方にお勧めです。
このレビューは参考になりましたか?
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com:  28件のカスタマーレビュー
16 人中、15人の方が、「このレビューが参考になった」と投票しています。
A completely different tool 2000/7/18
By Steve Wainstead - (Amazon.com)
形式:ペーパーバック
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!

13 人中、11人の方が、「このレビューが参考になった」と投票しています。
Wish all books were this well-written 2000/4/15
By tanya_tibb@yahoo.com - (Amazon.com)
形式:ペーパーバック
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.

9 人中、8人の方が、「このレビューが参考になった」と投票しています。
No alternatives 2000/12/30
By Ruslan Moskalenko - (Amazon.com)
形式:ペーパーバック
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.
カスタマーレビューの検索
この商品のカスタマーレビューだけを検索する

クチコミ

クチコミは、商品やカテゴリー、トピックについて他のお客様と語り合う場です。お買いものに役立つ情報交換ができます。
この商品のクチコミ一覧
内容・タイトル 返答 最新の投稿
まだクチコミはありません

複数のお客様との意見交換を通じて、お買い物にお役立てください。
新しいクチコミを作成する
タイトル:
最初の投稿:
サインインが必要です
 

クチコミを検索
すべてのクチコミを検索
   


リストマニア

リストを作成

関連商品を探す


同じキーワードの商品を探す


フィードバック


Amazon.co.jpのプライバシー ステートメント Amazon.co.jpの発送情報 Amazon.co.jpでの返品と交換