Re: Lines count in USEFOR
"Charles Lindsey" <[email protected]> Wed, 18 Nov 2009 11:37:23 GMT
| Newsgroups | gmane.ietf.usenet.format |
|---|---|
| Message-ID | <[email protected]> |
In <[email protected]> Harald Alvestrand <[email protected]> writes: >My memory says that we had an extensive discussion before we landed on >the idea that the line count == the number of CRLFs in the Body. >1) It's unambiguously correct for bodies that end with CRLF and with no >bare CRLF >2) It's clear how to count for bodies that contain bare CR or bare LF >3) It's compatible with at least some existing code for bodies that >don't end in CRLF >I suggest we leave this one alone. Agreed. I have no huge urge to change it. The only possible change wouold be to decree that, contrary to RFC 5322, the final line of the <body> MUST be terminated with a CRLF. That indeed seems to be the universal current practice. Interestingly, the UNIX wc command returns does not regard a final unterminated line as countable (and Cnews at least uses wc). -- Charles H. Lindsey ---------At Home, doing my own thing------------------------ Tel: +44 161 436 6131 Web: http://www.cs.man.ac.uk/~chl Email: [email protected] Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K. PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5