Expect – Linux tool for automating interactive programs
1–10 of 92 posts
Re: Expect – Linux tool for automating interactive programs
#2Re: Expect – Linux tool for automating interactive programs
#3O’Reilly put out a book about expect back in the old days (1995).
I used expect a few times to automate remote admin, and even to scrape terminal-based applications.
Re: Expect – Linux tool for automating interactive programs
#4I thought that it was far better than the TCL Expect because I could also use other CPAN modules and have Perl's regular expressions to parse the system's output.
Expect is a great tool to have in your toolkit.
Re: Expect – Linux tool for automating interactive programs
#5Many years ago I used the Perl version of Expect ( https://metacpan.org/pod/Expect ) to automate several workflows that wanted manual inputs. I thought that it was far better than the TCL Expect because I could also use other CPAN modules and have Perl's regular expressions to parse the system's output. Expect is a great tool to have in your toolkit.
Still a great answer and latest update in March this year.
Re: Expect – Linux tool for automating interactive programs
#6The actual productive workflow is to do your task with autoexpect, and then refine the generated output: https://linux.die.net/man/1/autoexpect
Re: Expect – Linux tool for automating interactive programs
#7Many years ago I used the Perl version of Expect ( https://metacpan.org/pod/Expect ) to automate several workflows that wanted manual inputs. I thought that it was far better than the TCL Expect because I could also use other CPAN modules and have Perl's regular expressions to parse the system's output. Expect is a great tool to have in your toolkit.
Re: Expect – Linux tool for automating interactive programs
#8Re: Expect – Linux tool for automating interactive programs
#9We rewrote our deployment arch since then