Thread overview
limited end of line
Aug 17, 2001
Jeffrey Drake
Aug 17, 2001
Sheldon Simms
August 17, 2001
In the spec:
 EndOfLine:
		\u000D
		\u000A
		\u000D \u000A
		EndOfFile

I think that is the wrong way of doing it. I recall the mac has an lfcr
terminator.
I think the best generalization should be:

[] means optional
D[A] || A[D]



August 17, 2001
Im Artikel <9lifhr$teh$1@digitaldaemon.com> schrieb "Jeffrey Drake" <jpt.d@home.com>:

> In the spec:
>  EndOfLine:
> 		\u000D
> 		\u000A
> 		\u000D \u000A
> 		EndOfFile
> 
> I think that is the wrong way of doing it. I recall the mac has an lfcr terminator.

It uses 0x0A

-- 
Sheldon Simms / sheldon@semanticedge.com
August 17, 2001
No, the Mac has "\r" only. Unix has "\n" only. Now that the Mac is Unix, guess what... it deals with both, depending on the program you talk about. DOS and derivatives have LFCR.


Christophe

Jeffrey Drake wrote:

> In the spec:
>  EndOfLine:
>                 \u000D
>                 \u000A
>                 \u000D \u000A
>                 EndOfFile
>
> I think that is the wrong way of doing it. I recall the mac has an lfcr
> terminator.
> I think the best generalization should be:
>
> [] means optional
> D[A] || A[D]