On 4/15/07, Sonny Chee <sonny.chee / gmail.com> wrote: > Hey Guys, > > Does anyone know of a cross-platform way of generating an 'end-of-file' > character? Alternatively, does anyone know how to figure out what the > 'end-of-file' character is for a particular OS? > I had no idea it was platform dependent. I always assumed it was ^D for all platforms. "\004" should be it. Blessings, TwP