Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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

add comment

1 Answer 1

because:

ASCII was developed simultaneously by the ISO and the ASA

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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