On Tuesday 25 September 2007 10:00:03 [EMAIL PROTECTED] 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.
When you're automating stuff the last-last-last thing you want is for it to look good! I'm with Sonya on this:command line and expect ! James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
