Re: sed usage question



Richard Tobin <richard@xxxxxxxxxxxxxxx> wrote:

Mark Bestley <news@xxxxxxxxxxxxx> wrote:

Most if not all. A quick search for CRLF gives an early one as RFC561 -
Standardizing Network Mail Headers from September 1973
I know it is in the Mail and Http RFC having had to debug some agents.

I think the first RFC that standardised this was RFC139, for
Telnet (May 1971):

The representation of the end of a physical line at a terminal is
implemented differently on network HOSTS. For example, some use a
return (or new line) key, the terminal hardware both returns the
carriage or printer to start of line and feeds the paper to the next
line. In other implementations, the user hits carriage return and
the hardware returns carriage while the software returns to the
terminal a line feed. The network-wide representation will be
carriage return followed by line feed. It represents the physical
formatting that is being attempted, and is to be interpreted and
appropriately translated by both using site and serving site.

This was referring to the encoding of the data. Later RFCs have (I
think) uniformly used CR-LF for textual protocol header fields (one of
the nice things about internet protocols is that many of them use
human-readable headers, unlike the bit-saving formats in, for example,
the Janet protocols). HTTP is a relatively recent example.

Hmm.

Hmmmmmm...........

Righto.

I shall be thinking about this.

Rowland.

--
Remove the animal for email address: rowland.mcdonnell@xxxxxxxxxxxxxxx
Sorry - the spam got to me
http://www.mag-uk.org http://www.bmf.co.uk
UK biker? Join MAG and the BMF and stop the Eurocrats banning biking
.



Relevant Pages