命令行自动化工具-Expect-lite
2012-07-21 23:38:46 阿炯

本站赞助商链接,请多关照。 Expect-lite是一个简单快速的命令行自动化工具,其功能是直接映射一个交互式终端到自动化脚本。



expect-lite is an quick and easy command line automation tool.

Written in expect, it is designed to directly map an interactive terminal session into an automation script. expect-lite scripts use special character(s) at the beginning of each line to indicate the action. Basic expect-lite scripts can be created by simply cutting and pasting text from a terminal window into a script, and adding '>' '<' characters. No knowledge of expect is required!

Includes a Powerful Debugger with breakpoints, step/skip, copy/paste expect-lite lines right into a running script.

Structured programming via Code Blocks, enables easy to create while loops, and conditionals (if statements).

Full IPv6 support, using telnet or ssh over IPv6, and IPv6 addresses in the script.

Expect-lite is targeted at the verification testing environment, and will produce a Pass/Fail result at the end of the script. However, its use is not limited to this environment and can be used anywhere a text-based interface needs a bit of automation.

最新版本:4.6
增强了代码块 foreach 循环,增加了字符串方法 (search/replace, concat, remove),改进 SSH 登录和修复 SSH 选项 bug。

项目主页:http://expect-lite.sourceforge.net/