logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Line endings opinion poll (with bonus opinion): msg#00637

Subject: Re: Line endings opinion poll (with bonus opinion)
On Fri, Oct 29, 2004 at 05:23:16PM -0700, Samuel A. Falvo II wrote:

> There are currently three methods of encoding ASCII text.  DOS, Unix, and 
> MacOS Classic.  I don't know if MacOS X uses Unix-style line endings or 
> MacOS-style endings.

On MacOSX X: some of both.  Most things seem to be moving toward Unix-type
endings, although there are still a bunch of files around that use '\r'
instead of '\n' (classic).  Usually applications built to work with either
will use the '\r' endings.  Most new development will use '\n' since it
fits better with the rest of the world.

I would guess that nearly anyone using OSX needing darcs would have
Unix-type endings.

More of a concern might be that OSX defaults to a case-insensitive
filesystem.  Sometimes people create makefiles that have the wrong case,
and it works.  But that is more of a configuration issue than a darcs
issue.

Where it does become an issue is if files are checked in under multiple
casings of a given path.

  foo/file1.c
  Foo/file2.c

will end up in separate directories on other systems.

Dave



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>