I also use BASH but have been using Python. Thanks for the pointer to Expect. My quick read of Wiki tells me that it is something useful that I should look into.
AFAIK, there is only one book in existence for Expect (O'Reilly), so when you find it, that's the one to buy. :)