[EMAIL PROTECTED] wrote:

> 1. Is "crlf" a replacement for "newline newline" ?

No, it is not. REBOL's newline is just LF.

> 2. Is "crlf" a Windows convention vs. *nix?

Sort of. CRLF is used in most Internet protocol too as line
terminator. Mac just use CRs AFAIK, while all other platforms that
I know of just except MS-DOS/Windows use LFs.

> 3. When should I be concerned to make sure I parse by "crlf" as well as
> "newline"?

If you are reading data with REBOL without using the /BINARY
refinement, you always get REBOL's newlines. (REBOL automatically
converts any CR or CRLF to just LF.) You have to worry about line
termination only if you're using the /BINARY refinement but you're
transferring a text file.

HTH,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL Programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

Reply via email to