I'm writing a small script that processes a proxy log file. I take the results of my script and write it to a file. I then close the file using
where OUTPUT is my file handle. I next try to email the file using a dos program called BLAT. To do this, I call
This command, though, reports that the file was not found. I thought the close() call flushes the buffer and creates the file, but for some reason, the file doesn't seem to exist until my script completes running all together. Can anyone offer any ideas/suggestions?