Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Programming Language

Expect

Scripting Language

Expect is a scripting language and Unix tool, written in Tcl, for automating interactive programs that expose a text terminal interface. Don Libes wrote it, and it dates from 1990, first for Unix systems and later also for Microsoft Windows and other platforms. A script can feed input to another program and perform pattern matching on that program's output, which lets it drive utilities such as telnet, FTP, passwd, fsck and rlogin without a person at the keyboard. This also makes it useful for testing such applications. By adding Tk, interactive applications can be wrapped in X11 graphical interfaces. The Free On-line Dictionary of Computing cites Libes's 1991 article on scripts for controlling interactive tasks as its reference, and the Programming Language Database relates it to Tcl, Perl, Python and Ruby.

Facts
First Released
1990 1
Connections

In Field

Source Expect (Wikipedia)
Sources
1. Expect (PLDB)
PLDB page opening line
Quote, PLDB page opening line
Expect is an open source programming language created in 1990.
View the Source
Expect (Wikipedia)
In Field: Software Engineering, Usage
Quote, In Field: Software Engineering, Usage
A common use of Expect is to set up a testing suite for programs, utilities or embedded systems.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.