RE: DOS EOF character in MARC files

2004-09-14 Thread Paul M. Hoffman
On Tue, 14 Sep 2004, Bryan Baldus wrote: > When writing tests, should one take into account the file > systems, or is the test end-user expected to deal with this? I strongly recommend that you take it into account yourself. Fortunately, that's easy... > For example, in order to use dosEOFtest

RE: DOS EOF character in MARC files

2004-09-14 Thread Bryan Baldus
I don't know if it is correct, but I tried to write a test for the DOS EOF removal in MARC::File::USMARC [1]. This is the first test file I've tried to write, so please let me know where I went wrong. From the dosEOFtest.t file description: Checks t/dosEOF.usmarc, which contains one record, wh

Re: DOS EOF character in MARC files

2004-09-10 Thread moregan
AIL PROTECTED]To: [EMAIL PROTECTED] -books.com> cc:

DOS EOF character in MARC files

2004-09-10 Thread Bryan Baldus
Our MARC loading and extracting software (internally developed for storage in a SQL database) adds a DOS end-of-file character (hex 1A) at the end of each file of (extracted) MARC records. Are there other systems that add this character? The presence or absence of the character does not seem to cau