From: majkel k. <maj...@ep...> - 2001-08-07 11:48:05
|
Eric Bezault wrote: > Eric Bezault wrote: > > > > I'm currently working on the following additions to > > Gobo: KL_INPUT_STREAM, KL_INPUT_FILE, KL_OUTPUT_STREAM, > > KL_OUTPUT_FILE, KL_FILE_SYSTEM, KL_DIRECTORY, ... > > I hope that this will address your needs. > > These classes (and more) are now available from the Gobo > CVS repository. For details, see my message at: Eric, as far as i can see, these classes (KL_INPUT_FILE) support reading files line by line. you are assuming, that lines are terminated by '%N' or '%R%N'. this are the line endings for unix and ms-windows. but mac-generated files end with '%R' i think. (i don't have access to or work with the Mac, but some pdf-files i read had the line ending '%R'). so you should change the code to accept '%N', '%R%N', or '%R' as line endings. -- maj...@ep... |