Version 10 of exp_continue

Updated 2006-09-04 07:57:23

The standard documentation appears for this under-appreciated command in the Expect extension here [L1 ].

exp_continue isn't strictly necessary. One could write a loop from other, more primitive, elements. However, exp_continue is a great convenience for the common situation where it can be used to easily implement various client/server models in expect, such as FTP, SMTP or HTTP, where we are uncertain about the number and order of commands sent by server. [explain much more]

exp_continue is labeled as "under-appreciated" above because there's such a gap between the large number of people who can program basic exp_send-expect sequences, and the small minority who are familiar with exp_continue, despite the latter's usefulness.

[provide sample code for some client/server]


[Category Command|Category Package]