Group: comp.lang.tcl


Subject: A Question about Expect
From: claird@lairds.us (Cameron Laird)
Date: 11/16/2007 1:50:38 PM
In article <d629b15e-efd3-41fb-81d6-916549379127@d27g2000prf.googlegroups.com>, <francis.zh@gmail.com> wrote: >with different promp ,take different action.how to doing this with >expect? >expect { "a" {avtive1} > "b" {avtive2} > } >is this right? >thanks Yes. Examples abound only a hyperlink or two from <URL: http://wiki.tcl.tk/expect >. One quick one: look for "scp" in <URL: http://wiki.tcl.tk/11583 >.