Hello,
I have a perl web process that produces a data file on a Solaris BOX and emails a link for this file to the user when it completes. I write the data one line at a time with a "\n" concatenated to each line. When I open the file using vi on UNIX, the last line of data is the last line in the file. However, when I view the file from my PC via word pad or note pad, there is an extra blank line at the bottom of the file. I've run unix2dos on the file from my script before exiting to no avail and changed the EOL to \r\n with no luck. So, does Word Pad just read the EOF as a newline and EOF? Any help would be greatly appreciated.
Thanks,
Dude