Logan Capaldo wrote: > > 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 Yes, you are right. Hmmm, this is kind of confusing though. Does ?\n return 13 on a non-OS-X Mac? I would think that \n and \r would always mean NL (i.e. decimal 10) and CR (i.e. decimal 13), no matter what the operating system. But for the matter at hand, I just want to make sure that pressing the enter key on a Unix and Mac machine always produces decimal 13. Ryan