I've been stuck on this one for awhile.. I am ussing ActiveState tcl 184.108.40.206, I am executing an expect script from windows that telnets to
an HPUX box, this part works well, then I try to grep Info from a file
and set a variable with the info. Simple in UX, not so simple from a PC..
I can tell from the history file on the HPUX box that the grep
portion is working, but it is not setting the variable, here is the line of code.
set X [send "grep test /tmp/testfile\r\n"]
I'm expecting X to be set with the grep'd value of test from the /tmp/testfile. I'm seeing the grep function work, but the variable is not getting set? Is the variable not being exported to the HPUX machine?
Any help will be gretly appreciated.