O*****c 发帖数: 171 | | z**r 发帖数: 17771 | 2 tcl?
【在 O*****c 的大作中提到】 : 3x
| l***y 发帖数: 791 | 3 expect or perl/expect
depnding on how much text parsing during the script run time, if there's a
lot, i'd go with perl expect.
easiest case, install a copy of rancid and just call the *login scripts on
the command line would get the job done.
【在 z**r 的大作中提到】 : tcl?
| z**r 发帖数: 17771 | 4 tcl和expect本来就一码事嘛
【在 l***y 的大作中提到】 : expect or perl/expect : depnding on how much text parsing during the script run time, if there's a : lot, i'd go with perl expect. : easiest case, install a copy of rancid and just call the *login scripts on : the command line would get the job done.
| c*******d 发帖数: 353 | 5 well... :)
i wouldn't want to write my own exp_continue! I had to write my own procs to
manip ip-addresses in tcl once, since IOS does not support all math
functions such as exp. and let me tell ye, it was not fun :(
【在 z**r 的大作中提到】 : tcl和expect本来就一码事嘛
|
|