I am writing an expect script.
At a certain point there is a rule that produces this debugging output:
expect: does "\r\nAddress or name of remote host [x.x.x.x]? " (spawn_id exp8) match glob pattern "\r\nAddress or name of remote host [x.x.x.x]? "? no
This just times out :s
When I use -exact for the expect keyword it does work :s
What am I doing wrong? THe first should also match in my opinion because it is equal as well. Even if I remove the \r\n I still have the same issue if I try without -exact.
I don't understand. I tried removing the \r\n but still got the same.
Anyone an idea on what the issue might be?