OS X is an Unix system, so the delimiter is slash
But for backward compatibility with OS 9, Finder and other apps use ":" as delimiter


Rev works with Unix-style names, it means the delimiter is slash
If you need to convert between Unix and legacy Mac style, you could use the functions revMacFromUnixPath and revUnixFromMacPath


regards,
Thierry

On 2005, Mar 5, , at 11:43, MisterX wrote:

from http://www.osxfaq.com/tips/unix-tricks/ it seems it should be slash
for shells... shouldn't it?


Is there a translation at some point by runrev or a terminal mode that
forces the translation maybe...

I suppose Applescripts use the ":"...

cheers
Xavier



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thierry Arbellot
Sent: Saturday, March 05, 2005 10:55
To: How to use Revolution
Subject: Re: OS delimiter question

do get shell("ls") and the folders both return "results 4:4:44"

On 2005, Mar 5, , at 10:26, MisterX wrote:

aha!

So if you do get shell("ls") and you have a folder named "results
4/4/44" what do you get?

Xavier

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Thierry
Arbellot
Sent: Saturday, March 05, 2005 09:47
To: How to use Revolution
Subject: Re: OS delimiter question


On 2005, Mar 5, , at 08:29, Richard Gaskin wrote:

MisterX wrote:
all unixes use the "/" ?
and if osx's path delimiter is still ":" or has it gone to
slash form?

The Finder lets me make a folder named "4/4/44", but not
one named
"4:4:44"

--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
___________________________________________________________
 [EMAIL PROTECTED]       http://www.FourthWorld.com
_______________________________________________

Right, but if you check with Terminal, the folder named
"4/4/44" in
the Finder is renamed "4:4:44" by the shell.

Thierry

"pourquoi faire simple quand on peut faire compliqu�?"
proverbe Shadock



_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to