On 5/7/05, Ryan Leavengood <mrcode / netrox.net> wrote: [snip] > My only concern would be whether the enter key was always decimal 13 on > each machine...I do know that newlines in text files on each platform > are different (CRLF on Windows, CR in Unix, LF in Mac...though maybe OS > X is like Unix.) > > Ryan > > I think you have that a little backwards. unix is LF, and Mac is CR although OS X is LF also. Darwin Logan-Capaldos-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc logan:/Users/logan% irb irb(main):001:0> ?\n => 10