为什么DOS/Windows和Mac决定使用\ r \n和\ r来代替行结尾而不是\n?它只是试图与Unix"不同"的结果吗?
现在Mac OS X是Unix(类似),Apple是否从\ r切换到\n?
history operating-system line-endings eol text-files
eol ×1
history ×1
line-endings ×1
operating-system ×1
text-files ×1