expect
Do an action for every match in expect
I am a total expect noob. I am writing a expect script for a test case where I want to count the number of occurrences of the string \"Ok\" and do an action for every occur开发者_JAVA技巧rence from t[详细]
2023-01-16 20:05 分类:问答Other solutions/languages that are superior to the TCL-based Expect? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-01-16 14:34 分类:问答How can I pass a filehandle to Perl Expect's log_file function?
I feel stupid for asking this, but I\'ve tried a couple things and I\'m not sure where to go with it.[详细]
2023-01-16 12:00 分类:问答Is Expect Scripts Still Worth Learning? [closed]
As it currently stands, 开发者_高级运维this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so[详细]
2023-01-14 21:22 分类:问答Why this expect script gives an error when it's run by cron?
I can run this expect script just fine using root or my own user account, however when I run it with cron, I always get an error. The OS is Ubuntu 8.04.[详细]
2023-01-13 00:42 分类:问答What can Expect do that Pexpect can not do?
I am considering to start using Pexpect. On Pexpects homepage I find this: Q: Why not just use Expect?[详细]
2023-01-12 19:19 分类:问答How do I wrap an REPL using .NET?
I\'m trying to make a .NET wrapper for an REPL (specifically Scheme, but I haven\'t got to where it matters).I looked for some sort of expect-style library, but I couldn\'t find one, so I\'ve been usi[详细]
2023-01-10 21:27 分类:问答Expect (the language) "couldn't compile regular expression pattern: quantifier operand invalid" error
I\'m having trouble with an Expect regular expression. I\'m trying to match on this output: RUC.hg0:6+6[详细]
2023-01-09 02:25 分类:问答How do I accomplish if-else in Perl Expect?
I am using Expect in Perl to accomplish one task. After sending the command I am expecting either Success or ERROR as the output, depending on which I need to print to a file saying that it was succes[详细]
2023-01-08 16:00 分类:问答How to return spawned process exit code in Expect script?
I use expect for running test scripts. Tests return success/failure through exit code. But expect return equivalent exit code.[详细]
2023-01-08 10:17 分类:问答