DeepRead
Cover of Exploring expect

Exploring expect

Don Libes · 1994

Programming and computer science › Operating systems and networking

#9,101 most recommended

About the book

A handbook on Expect, a Tcl-based extension for automating interactive programs such as telnet, ftp, passwd and fsck, which would otherwise require a person at the keyboard. It covers the Expect language, its integration with Tcl, and practical use on UNIX systems. Interactive programs can be driven from scripts without modifying them: a script waits for expected output patterns and sends replies, so tasks that once needed manual input can run unattended. Libes presents Expect as a general tool built on Tcl, not a single-purpose hack, and shows how its pattern matching, timeouts and control structures handle real-world dialogues. The book also argues that this approach suits system administration and testing, where repetitive interactive work is common.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 0% critical

012201520162018202020222015 peak · 2
This bookAverage book in Operating systems and networking

In the commenters’ own words

  • from the expect FAQ, of which unbuffer is a part: #43. Why doesn't Expect kill telnet (or other programs) sometimes? From: libes (Don Libes) To…

    mzs · 2022 · in How stdbuf works

  • I started with Don Libes' classic book on Tcl/Expect[1] and am moving on to the 3rd edition of Clif Flynt's book[2]. Someone in #tcl on Freenode suggested…

    michaelsbradley · 2015 · in Topics in Tcl Programming

What Open Library readers say

No Open Library reader has rated it yet.

  • 2 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
1994
ISBN
9781565920903
Editions known
2 at Open Library
Open Library
OL2872146W

ExpectHandbooksInteractive computer systemsProgramming languagesSoftwareTcl (Computer program language)Tcl (computer program language)UNIX (computer operating system)

Explore in the mosaic

Read next: its neighbours on the mosaic