Expect's frequently-made mistakes

http://groups.google.com/group/comp.lang.tcl/msg/a07a52f9fbb0e840

"expect_out(buffer) has the content of the previous send"

Expect inherits some FMMs [L1 ] from Tcl, of course. Expect is widely misunderstood, though--for instance, "Most programmers don't know what Expect can do for them"--and it's easy to identify several faults which are both specific to and characteristic of Expect. "Don't Expect to sleep" is an example.