Skip to Content
Exploring Expect
book

Exploring Expect

by Don Libes
December 1994
Intermediate to advanced
606 pages
16h 7m
English
O'Reilly Media, Inc.
Content preview from Exploring Expect

Exercises

  1. Use the timeout technique from the tknewsbiff script to cause an interact to return by pressing a Tk button. Compare this to using a signal.

  2. The file transfer script from page 461 assumes very little of the remote host. Modify the script so that it checks for the existence of rz/sz (or other tools) on the remote machine and uses them if possible. Similarly, use gzip if possible.

  3. Most compression programs can read from or write to a pipeline. Use this to reduce the number of temporary files used by the file transfer script.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AI Agents in Action

AI Agents in Action

Micheal Lanham
Learning Go

Learning Go

Jon Bodner

Publisher Resources

ISBN: 9781565920903Supplemental ContentErrata Page