Libes, D., Expect: Scripts for Controlling Interactive Programs, Computing Systems, Vol. 4, No. 2, University of California Press Journals, 1991 - A nice overview with a balance of example scripts and explanations.
expect.nist.gov/ expect.nist.gov/
But I wouldn't have bothered writing Expect in the first place if I thought Perl was ideal. And many Perl experts agree - I know a lot of them who call out to Expect scripts rather than do this stuff in Perl - it's that much easier with Expect.
expect.nist.gov/FAQ.html expect.nist.gov/FAQ.html
Expect - Wikipedia, the free encyclopedia
Expect is a Unix automation and testing tool, written by Don Libes as an extension to the Tcl scripting language, for interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, ssh, and...
en.wikipedia.org/wiki/Expect
Code Explained (Expect Script's); There are two expect scripts, one to telnet in and out of every server and the other to telnet in and give control to the user. Firstly we set the timeout in the script to 20 seconds, this means that if everything else goes wrong the program will exit after 20 seconds.
www.osix.net/modules/article/?id=35
#!/usr/bin/expect -f # Expect script to supply root/admin password for remote ssh server # and execute command. # This script needs three argument to(s) connect to remote server: # password = Password of remote UNIX server, for root user. ... Shell Scripts Categories...
bash.cyberciti.biz/security/expect-ssh-login-script/ bash.cyberciti.biz/security/expect-ssh-login-script/
Using Expect ... I will expand this and provide greater detail about these programs and about using Expect, but for now, here are some sample Expect files used to automate some III programs.. We use Expect as Perl module.. ... This is used with PERL scripts (New Materials List) which generate html pages.
www.library.wwu.edu/info/iii/expect/ www.library.wwu.edu/info/iii/expect/
using expect scripts for remote admin Linux - General ... i've read the expect pages up and down (aka man expect). and while i've gained basic knowledge of the tool, i'm a bit stuck with an advanced topic. my mission: to remote admin multiple debian ... expect scripts and cron banderson Linux - Software 8 05-27-2005 04:44 AM...
www.linuxquestions.org/questions/history/136780
Title Last Updated...
www.sun.com/bigadmin/scripts/indexApps.html www.sun.com/bigadmin/scripts/indexApps.html
What is expect-lite? expect-lite is a quick and easy command line automation tool. Written in expect, it is designed to directly map an interactive terminal session into an automation script. expect-lite scripts use special character(s) at the beginning of each line to indicate the action.
expect-lite.sourceforge.net/ expect-lite.sourceforge.net/
The question arose yesterday - "What do I need to know to look at / debug / maintain Expect scripts that have been written by others and I maintain / what are the common issues and pitfalls". Now THERE is an interesting question to help me clear my mind.
www.wellho.net/mouth/1173_Cheat-Sheet-Check-list-for-Ex... www.wellho.net/mouth/1173_Cheat-Sheet-Check-list-for-Expect-maintainers.html
Definitions