Thread overview | |||||
---|---|---|---|---|---|
|
August 17, 2001 limited end of line | ||||
---|---|---|---|---|
| ||||
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 Re: limited end of line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeffrey Drake | 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 Re: limited end of line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeffrey Drake | 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]
|
Copyright © 1999-2021 by the D Language Foundation