Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Expect: Curing Those Uncontrollable Fits of Interaction



Don E. Libes


UNIX programs used to be designed so that they could be connected with pipes created by a shell. This paradigm is insufficient when dealing with many modern programs that demand to be used interactively. Expect is a program designed to control interactive programs. Expect reads a script that resembles the dialogue itself but which may include multiple paths through it.
Proceedings Title
Proceedings of the Summer 1990 USENIX Conference


Expect, interactive programs, programming, shell, UNIX


Libes, D. (1990), Expect: Curing Those Uncontrollable Fits of Interaction, Proceedings of the Summer 1990 USENIX Conference, [online], (Accessed June 12, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created January 1, 1990, Updated February 17, 2017