Originally posted by Kevin Scantlan
I'm noticing a difference between how TCL handles the "gets" command between 2 environments. We recently upgraded our test machine to CLoverleaf 5.4.1 and a new TCL although I'm not certain the version. Our production machine is still at Cloverleaf 5.2.1 . I took a file containing an HL7 message and placed it in both machines. I went into the TCL enviroment by entering "tcl" from the command prompt. I then entered the following:
set fileid [open filename.dat r]
set line [gets $fileid]
On the test machine, the variable "line" only contained the first segment of the message while on the production machine "line" contained the entire message.
The only difference that I can think is how the command interprets the "end of line" character or what it thinks it is.
Any suggestions?