Re: tutorial on HFS versus finder and POSIX file path ?
Re: tutorial on HFS versus finder and POSIX file path ?
- Subject: Re: tutorial on HFS versus finder and POSIX file path ?
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 17 Oct 2006 13:24:33 -0400
On 10/17/06, Doug McNutt <email@hidden> wrote:
In HFS a file name starting with a colon is in the current working directory. Double or
other pluralities of initial colons work their way back the directory stack the same way
initial periods do in UNIX.
Except that in UNIX you still need the slashes, too. IIUC:
UNIX . = HFS :
UNIX .. = HFS ::
UNIX ../.. = HFS :::
UNIX ../../.. = HFS ::::
etc. Is that correct?
Personally I've always had a fondness for the Xerox path syntax, where
is the separator and < refers to the parent. Nice left-to-right
logic.
Contrary to popular belief the classic OS did have a working directory but the only
popular software to use it seriously was MPW which I miss on OS neXt.
You're right; I misspoke. Or mistyped, I suppose. Mac OS defined a
current working folder but it wasn't usually exposed to the user -
outside of MPW, as you said. But since MPW was basically a UNIX shell
for the Mac, what about it do you find missing on OS X?
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden