John Joyce
12/4/2007 12:36:00 AM
On Dec 3, 2007, at 6:44 AM, has wrote:
> On 3 Dec, 04:07, "Gabriel N." <gabrie...@hotmail.com> wrote:
>
>> The line of code it shows is gibberish, it seems to be made up of
>> several lines of code mixed together.
>
> Might be that your code is using carriage returns instead of linefeeds
> as end-of-line delimiters. Not sure about Ruby, but I know Python only
> recognises LFs as linebreaks. Prior to OS X, Mac OS used CRs as
> standard, and some Mac apps still do.
No mac apps use CR as line endings now. That went away with OS9's
demise.
OS X and native apps all use Unix line endings as standard and as
defaults.
That means what you call LF, or line feed, or \n