Hi all,
I'm trying to Use Expect to automate a curl function. basically I don't want to type enter for my script to run. Can anyone point me to a good Expect tutorial?
Hi all,
I'm trying to Use Expect to automate a curl function. basically I don't want to type enter for my script to run. Can anyone point me to a good Expect tutorial?
~Conradin~
I broke down and bought the book "exploring Expect" published by O'Rielly, by Don Libes. I'm just starting Chapter 2 and feel much better about this whole thing already.
~Conradin~
How did you like it? I've got an idea to create some Expect scripts that would log into some routers and run some show commands, save the output to a text file, then use Python to trim the text file into a pruned version that was useful for troubleshooting some specific problems quickly.
"Exploring Expect" was a good book to get me started, and it reads OK, Don Libes is a decent writer.
For a while, I was programming VMD which is in TCL, the same language that Expect is based on. I found the Book "Practical Programming in TCL and TK"
Third edition to be very helpful, despite, not being explicitly about Expect.
~Conradin~
Bookmarks