I\'m trying to write an expect script to automate telnet. This is what I have so far.
#!/usr/bin/expect # Test expect script to telnet. spawn telnet 10.62.
Have you seen this StackOverflow Question?
He seems to have got things working by using curly braces.