On Tue, Sep 25, 2007 at 11:07:40AM +1000, Sonia Hamilton wrote:
> I'm starting to learn expect [1][2] to help me automate some programs
> that prompt for input. Expect dates from the early 90s - is it the right
> way to go or is there now a better shinier tool/language that I should
> be learning?
> 
> [1] http://expect.nist.gov/
> [2] http://en.wikipedia.org/wiki/Expect

I was going to mention the Python version, but I note it's
listed on the wikipedia external links along with
a bunch of others.  I'm not sure whether you'd call it
more modern.  There's only so many ways you can write a program
which expects and sends :-)

I'm thinkin' that 'empty' looks interesting though.
It's got a useful comparison of the various "expects"
on its front page: http://empty.sourceforge.net/

I remember attempting to use pexpect (python expect)
to mass change some passwords for me.  And me failing 
miserably for some annoying python compatibility
reason.


Matt


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to