Simon:

   First of all, let me apologize for my whine.  We all have our bumps in the 
road and if we don't then we're probably not doing our jobs (as one venerable 
Navy Chief once pointed out to a hapless, naïve ensign many years ago).  I 
should have just shut up and moved on.

   I am essentially a Windows programmer so I will have to take your word on 
the use of HFS-style paths vs posix/Unix style paths on Mac platforms.  

   I will have to say, however, that at least the InDesign SDK, which is my 
chief habitat when it comes to writing Mac code, encourages the use of 
colon-laden paths--or at least does not greatly discourage it, while not 
encouraging at all the use of the posix/Unix style of path presentation.  They 
have a few functions scattered here and there for HFS-to-URL/Posix conversion, 
but rarely are they mentioned in their docs, or used not at all in their 
examples.

   Say what you will about Adobe and InDesign, but their tools for writing 
Apple, ah, supplemental code, are not insubstantial or trivial.  IMHO, it is 
understandable when that is my major environment for writing code that I might 
not know the more current practice.  

   Okay, it's an excuse (grin), but it's all I've got.

Take care, and honest, thanks! 
John 

> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
> On Behalf Of Simon Slavin
> Sent: Friday, June 17, 2011 5:18 PM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] OSX path
> 
> 
> On 17 Jun 2011, at 10:09pm, john darnell wrote:
> 
> > I checked two references and neither one of them  mentioned this teensy 
> > little
> requirement.  I guess they must've thought it wasn't important.
> 
> The use of colons for file paths is purely an old-fashioned Mac thing and 
> never
> worked cross-platform.  So from the SQLite and sides, the programmers would
> never think to mention the colon format and might never have known about it
> (although as it happens DRH is a Mac user and doubtless does).
> 
> From the Mac side, since OS X began (twelve years ago) you've been able to use
> standard Unix slash format for file paths, and the colon format has 
> pretty-much
> diminished into misuse.  So only pre-OS X Mac programmers like us would know
> about it.
> 
> Sorry about that.  But I'm keeping my copy of _Inside Mac_ because I'm 
> convinced
> it's a classic.
> 
> Simon.
> 
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to