On 2007.09.25 11:07 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?

I prefer to use one of the *dialog utilities (ie, dialog, kdialog, gdialog, or -- my dialog-du-jour -- Xdialog) in a shell script and validate the user input in the script. It looks a helluva lot better than expect via a command line. It's prolly also more versatile.

Robert Thorsby
--
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