If I execute these two commands, Expect waits for me to enter hi . If I enter philosophic followed by a return, Expect finds the hi and prints: ... Here is another way of writing the same expect commands:
oreilly.com/catalog/expect/chapter/ch03.html oreilly.com/catalog/expect/chapter/ch03.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
Expect reads cmdfile for a list of commands to execute. Expect may also be invoked implicitly on systems which support the #! notation by marking the script executable, and making the first line in ... The -leaveopen flag leaves the spawn id open for access through Expect commands. A wait must be executed on the spawn id.
tcl.activestate.com/man/expect5.31/expect.1.html tcl.activestate.com/man/expect5.31/expect.1.html
Debugger, Debugger, Design Guide, .ocommand (Expect Commands from Target) ... ; MSDN Library; Win32 and COM Development; Diagnostics; Debugging and Error Handling; Debugging Tools for Windows; Debuggers; Debugger Reference; Debugger Commands; Meta-Commands; .ocommand (Expect Commands from Target)
msdn.microsoft.com/en-us/library/cc266841.aspx
I’ve found Nat Pryce’s rule of thumb – stub queries and expect commands – to be very useful in reducing the brittleness of tests (see Yoga for Your Unit Tests).
blog.floehopper.org/articles/2006/12/23/stub-queries-an... blog.floehopper.org/articles/2006/12/23/stub-queries-and-expect-commands
The Expect Home Page ... tkbiff - allows arbitrary commands (play audio clip, metamail, etc) to be executed upon mail reception. (If you like xbiff++ but wish it were more flexible or more portable, then you'll like tkbiff.) tkbiff is flexible enough that you can make it do anything.
expect.nist.gov/ expect.nist.gov/
Can Expect do this? ... I keep hearing about Expect. So what is it? ... Expect is free and in the public domain. Download instructions can be found in the Expect homepage.
expect.nist.gov/FAQ.html expect.nist.gov/FAQ.html
Expect for Windows Commands ... This document should be used together with the Expect for Windows Reference, which lists all available Expect commands and options.
docs.activestate.com/activetcl/8.4/expect4win/ex_usage.... docs.activestate.com/activetcl/8.4/expect4win/ex_usage.html
EXPECT reads commands from a script file, spawns a process like TELNET, sends text from the script file to the TELNET process, saves every character returned from the TELNET session, and “looks” for known character strings that the user “expected”.
www.linuxjournal.com/article/3065
Comment on Linux: force commands that expect filename args to accept piped input ; Download Code ... •Re: Linux: force commands that expect filename args to accept piped input by merlyn (Cardinal) on Feb 24, 2002 at 16:02 UTC...
www.perlmonks.org/?node_id=147139
Definitions