Hi,
Interesting. Mac OS uses the cr carage return. I didn't know that, but I will keep that in mind. I thought Mac used the standard lf which is common to other operating systems with a BSD base. Though, I think BSD uses cr as well.



Rich Caloggero wrote:
Yep, Apple, WIndows, and Linux all use a different convention for terminating lines of text:
Windows uses crlf (ascii-13 followed by ascii-10);
Linux uses just lf;
Apple uses just cr.

Smart editors will figure it out and convert on open (textpad for windows does this, and it is a pretty accessible editor). There is also something called edSharp for windows that'll do it, and probably others. I wonder if textEdit will convert windows and linux text files when opened; probably will.

-- Rich


Reply via email to