热门
#!/usr/bin/expect
spawn ./interac.sh
expect "Enter number:"
send "1\n"
expect "Enter name:"
send "sanwu\n"
expect eof