in reply to Re: end of
in thread end of

I would just like to note (for maddfisherman's sake, not your's japhy as I'm sure you're already aware :) that eof will not work if you're reading data from a socket, pipe, or terminal. This is because, the way eof works is it tries to read a character from the file, noting an EOF if found, and then ungetc's the character back onto the file's stream so that you can read it in.

Of course, this probably won't affect this situation but I wanted to point it out, JIC.

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.