EasyManuals Logo
Home>Lantronix>Gateway>EMG Series

Lantronix EMG Series User Manual

Lantronix EMG Series
482 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #255 background imageLoading...
Page #255 background image
12: Scripts
EMGâ„¢ Edge Management Gateway User Guide 255
Secondary Commands
These are commands which provide data or other support to the Primary commands. These
commands are never used by themselves in a script. The preprocessor will require that these
commands always follow a left square bracket ('[') character and be followed on a single line by a
right bracket (']').
expect, expect_user,
expect_before,
expect_after,
expect_background
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 {<string 1> {command 1} <string 2> {command 2} ... <string n> {command
n}}
where
<string x> 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 <value>
where
<value> can be a word or a variable reference.
Command Description

Table of Contents

Other manuals for Lantronix EMG Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lantronix EMG Series and is the answer not in the manual?

Lantronix EMG Series Specifications

General IconGeneral
BrandLantronix
ModelEMG Series
CategoryGateway
LanguageEnglish

Related product manuals