expect script to automate telnet login
My bad. The problem was with the curly braces. They are supposed to be at the same line as the expect command .
My bad. The problem was with the curly braces. They are supposed to be at the same line as the expect command .