mirror_frr/feed.x
Quentin Young 6d53a10e4c lib: Add partial matching support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2016-08-01 13:18:25 +00:00

15 lines
180 B
Plaintext

#!/bin/expect
set f [open "copt.txt"]
set cmds [split [read $f] "\n"]
close $f
spawn vtysh
foreach command $cmds {
expect "dell-s6000-16#"
send "$command\r"
}
interact