[BUGS] search/replace - cr/lf (with joe)
Andrew Reilly
andrew.reilly at dolby.com
Thu Jul 31 19:17:30 EST 2008
On 31/07/2008, at 16:50, Jerahmy Pocott wrote:
> It's kinda funny..
>
> OS9 uses CR
Really? I thought that OS-9 was more or less a Unix clone.
Certainly Mac-OS versions before X all used CR.
>
> Unix uses LF
> Windows decided it would use both..
To be fair to Windows, many other systems before then also used both,
and both (actually explicitly CR,LF -- I'm not sure that anything uses
LF,CR) is the end-of-line marker in most line-oriented internet
protocols, like SMTP and Telnet.
These days, any well-written program will happily tolerate any of the
conventions automatically. Python does by default.
Cheers,
Andrew
More information about the BUGS
mailing list