Re: EOF location?
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 28 May 2006 18:15:24 -0700
I did. Some files include the X'1A' byte as part of the recorded file
length, some don't. That's the confusion.
You are only confused in thinking that x'1A' has any significance to
MS-DOS/Windows, it neither knows nor cares whether a file has one or
not. Actually Windows/DOS does not care about CR/LF in disk files
either, the console does action various control characters though so
copying a file to the console shows the file in lines.
It may be relevant whether a particular program thinks that x'1a' does
end the file, but only where there are significant characters beyond
that.
The x'1a's found in some files are likely to be the remnants of using
old DOS editors, possibly ones originally designed for CP/M where the
x'1a' is useful. Strip them all out and forget about it.
.
- References:
- EOF location?
- From: HeyBub
- Re: EOF location?
- From: Pete Dashwood
- Re: EOF location?
- From: Rick Smith
- Re: EOF location?
- From: Pete Dashwood
- Re: EOF location?
- From: Rick Smith
- Re: EOF location?
- From: Pete Dashwood
- Re: EOF location?
- From: HeyBub
- EOF location?
- Prev by Date: Re: Is a career switch to the mainframe/cobol world responsible?
- Next by Date: Re: Combined Abbreviated contidionts (was: PIC P put to real use
- Previous by thread: Re: EOF location?
- Next by thread: Re: EOF location?
- Index(es):
Relevant Pages
|
|