As you can see from my recent posts I am new to Expect
I have everything working close to the way I want it now for my data collection. I just a have a couple small issues.
1. The script below adds a non-ascii character to the end of the file name. Is there a better way to do this?
set tdate [clock format [clock seconds] -format %Y%m%d]
set newName ofcvar_
append newName $tdate
append newName ".txt"
result = ofcvar_20080820.txt(non-ascii junk)
2. The telnet session that I am recording has non-ascii characters in the output file. Is ther a way to remove these from the file. I have a sed script that I have used to remove them but I was wondering if there is way to spawn the telnet session that would not record the non-ascii.
TIA,
RF101