Lantronix SLB Lantronix SLB - User Guide - Page 127
Command, Description, <string x>
View all Lantronix SLB manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 127 highlights
8: Device Ports Command Description expect, expect_user, expect_before, expect_after, expect_backgrou nd The expect command waits for input and attempts to match it against one or more patterns. If one of the patterns matches the input the corresponding (optional) command is executed. All expect commands have the same syntax: expect { {command 1} {command 2} ... {command n}} where will either be a quoted string, a variable reference or the reserved word 'timeout.' The command x is optional, but the curly braces ('{' and '}') are required. If present it must be a primary command. return The return command terminates execution of the script and returns an optional value to the calling environment. Syntax: return where can be a word or a variable reference. SLB - Branch Office Manager User Guide 127