This mimics the style of the UNIX script command which similarly transparently watches a session and at the end provides a log of the session to the user. Autoexpect watches an interactive session and generates an Expect script to reproduce it. Autoexpect can automate multiple interactive applications as easily as a single interactive application. Autoexpect does this exactly the same way that a user does - through the shell. Autoexpect will dutifully note everything and reproduce it faithfully.
Job control is supported with no extra effort.
Autoexpect will generate the appropriate statements to reproduce these so that the interaction can be repeated. Autoexpect Audience Autoexpect can be used with zero knowledge of Expect. Thus, Autoexpect is a good fit for people who know nothing about Expect. For example, users may want to generalize the resulting scripts, such as by changing repeated sets of statements into loops. Even for Expect experts, Autoexpect is a convenient tool for automating the more mindless parts of an interaction.