2 ms·
It's very frustrating to see something like this that claims to be very useful, but shows no examples on the page. >Expect is a tool for automating interactive
by throwaway_3424 12y ago
It's very frustrating to see something like this that claims to be very useful, but shows no examples on the page.
>Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial.
How?
>Expect can make easy all sorts of tasks that are prohibitively difficult with anything else. You will find that Expect is an absolutely invaluable tool - using it, you will be able to automate tasks that you've never even thought of before - and you'll be able to do this automation quickly and easily.
HOW?
Ah, examples...
>http://expect.sourceforge.net/#examples http://expect.sourceforge.net/#examples
It's just a giant README. This is frustrating.
- klibertp 12y agoThere are nice examples on wikipedia: http://en.wikipedia.org/wiki/Expect http://en.wikipedia.org/wiki/Expect.
- nfriedly 12y agoHere's an example: https://github.com/nfriedly/Meteor-ODB-II/blob/master/deploy/deploy.sh https://github.com/nfriedly/Meteor-ODB-II/blob/master/deploy... This script runs the meteor deploy command as part of my CI loop every time new code gets pushed to github. The deploy command expects me to type in a bunch of information, and expect does that for me.