且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用#!/usr/bin/expect和bash

更新时间:2023-01-14 23:12:08

expecttcl的扩展-因此,您可以使用tcl的编程结构-其中包括'if'.

expect is an extension of tcl - therefore you can use the programming constructs of tcl - these include 'if'.

可以使用Tcl命令手册页:tcl. tk/man/tcl8.5/TclCmd/contents.htm

Tcl command man pages are available: tcl.tk/man/tcl8.5/TclCmd/contents.htm