I want to create a shell script that uses the Expect library however Expect is not installed on any of the systems where I want to run the script. Can I build Expect from source and then put in same directory as the script? How would you go about this?


If all machines are the same architecture and operating system, it should work (as long as other required stuff is present...).

Best bet would be to require expect installed on each.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.