Posts

Showing posts with the label expect

Array In Expect Script

Image
Array In Expect Script . #capture all of our output for debugging set output [ open output.txt rdwr ]; Some() returns true if at least one element in this array satisfies the provided. syntax Postgresql script doesn't work as I expect Database from dba.stackexchange.com It expects specific string, and sends (or responds) strings accordingly. Iam calling a expect script with machine ip address as a parameter from a perl script. If you are new to expect scripting language, first start with our expect hello world example.