Just out of curiousity.. Why are the line endings different for Windows and Unix. I was looking around for the answer but not found.

link|improve this question
feedback

migrated from stackoverflow.com Jul 27 '10 at 2:48

This question came from our site for professional and enthusiast programmers.

1 Answer

because:

ASCII was developed simultaneously by the ISO and the ASA

via: http://en.wikipedia.org/wiki/Newline#History

link|improve this answer
Thanks, very informative indeed. – sTodorov Jul 25 '10 at 14:38
@sTodorov: thank wikipedia ;) – cherouvim Jul 25 '10 at 14:40
1  
The rest of that Wikipedia section details the rather more practical and boring consequences from the origins of each operating system; Unix conventions are taken from Multics and Windows from MS-DOS which in turn took its convention from CP/M. To quote: "CP/M's use of CR+LF made sense for using computer terminals via serial lines." - Wikipedia. – casualuser Jul 25 '10 at 16:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.