ietf
[Top] [All Lists]

Re: [IETF] A modest proposal

2013-01-23 12:45:37

On Jan 22, 2013, at 11:45 PM, Melinda Shore 
<melinda(_dot_)shore(_at_)gmail(_dot_)com> wrote:

On 1/22/13 7:16 PM, Dean Willis wrote:
Microsoft-OS text editors. Seriously. People wanted to be able to
write correct SIP messages using text editors, and there were more
Microsoft users than Linux users on the list. 

Oh, c'mon.  MS products and MacOS at the time used CRLF for newlines
generally, not just in Word.  The fact that it was specified that way
in HTTP, SMTP, FTP, and others matters a bit, as well.

Yup, and Unix users have the ability to choose line endings:
Emacs -
M-x set-buffer-file-coding-system RET undecided-dos

VI - 
: Set fileformat = dos : W 

If you are using anything else, a: don't or b: 

tr -d '\r' < input.file > output.file

or 

perl -pi -e 's/\r\n/\n/g' input.file

or 

sed 's/$'"/`echo \\\r`/" input.txt > output.txt

or…. 

W




Melinda


--
The duke had a mind that ticked like a clock and, like a clock, it regularly 
went cuckoo.

    -- (Terry Pratchett, Wyrd Sisters)



<Prev in Thread] Current Thread [Next in Thread>