+++++++++++++++++++++++++++++++++++++++
标题:expect 脚本的自定义变量和位置变量
时间:2020年3月3日
+++++++++++++++++++++++++++++++++++++++
自定义变量:
set ip 192.168.100.100
set user root
set password centos
set timeout 5
位置变量:
set ip [lindex $argv 0]
set user [lindex $argv 1]
set password [lindex $argv 2]
原文地址:https://www.cnblogs.com/lv1572407/p/12404104.html
时间: 2024-11-11 00:21:18