blank.gif (43 bytes)

Church Of The
Swimming Elephant

Index | Description | Usage | Options | Variables | Hints | Bulletproof

expect [[-opts] pat1 body1] ...  [-opts] patn [bodyn]
complete description

Flags Description
-gl May may be used to protect patterns that might otherwise match expect flags from doing so.
-re Introduce regulaar expression
-ex Causes the pattern to be matched as an “exact” string.  No interpretation of *, ^, etc is made (although the usual Tcl conventions must still be observed).  Exact patterns are always unanchored.
-nocase Causes uppercase characters of the output to compare as if they were lowercase characters.  The pattern is not affected.
-notransfer Normally, the matched output is discarded from Expect’s internal buffers.  This may be prevented by prefixing a pattern with the -notransfer flag.  This flag is especially useful in experimenting (and can be abbreviated to “-n” for convenience while experimenting).
-i spawn_id Identify the process by spawn id
-indices If the -indices flag is used before a pattern, the starting and ending indices (in a form suitable for lrange) of the 10 strings are stored in the variables expect_out(X,start) and expect_out(X,end) where X is a digit, corresponds to the substring position in the buffer.
-timeout Use the specified timeout value rather than the timeout global.
eof End of file keyword
full_buffer Full buffer keyword (default is 2000 bytes; see match_max ).
default timeout or eof.
null Match null character
pattern action pattern2 action2 ... Pattern-action pairs.



Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609