Expect-lite 3.1.0 (Default branch) |
|
|
Expect-lite is a wrapper for expect, created to
make expect programming even easier. The wrapper
permits the creation of expect script command
files by using special character(s) at the
beginning of each line to indicate the expect-lite
action. Basic expect-lite scripts can be created
by simply cutting and pasting text from a terminal
window into a script, and adding '>' '
License: BSD License (revised)
Changes:
This release adds 'math variable' permitting math operations, ie. =$answer*$five/2.0. It supports arithmetic operators: + = * / %, and bitwise operators: << >> & | ^. The result is always assigned to the 'math variable'. Pseudo arrays have been added by permitting dereferencing of variables on the left side of an equals assignment statement, except the first variable name. Example: $two=2 $array$two=value ; === show value of $array2. Limitation: additional variables on the left side (i.e. $two) must only contain legal variable characters [A-Za-z0-9_].
|