Jun 26, 2012, 10:12 PM
Post #1 of 3
I'm "repairing" some perl code that was written by someone else and trying to clean it up as I go along...
Logging to stdout with EXPECT. Can I alter the newline?
I've had a request to make the output of the script more "DOS" friendly by altering the newline character used on the output to something that will work in DOS.
My problem is that the output is generated by turning on stdout logging in EXPECT. I don't see any way to alter the newline character that is used when writing to stdout.
Can the newline character going to stdout from EXPECT be changed?