Re: Is this legit? [POSIX]
Re: Is this legit? [POSIX]
- Subject: Re: Is this legit? [POSIX]
- From: email@hidden
- Date: Thu, 24 Jul 2008 16:23:49 +0200
At 10:05 -0400 24/07/08, Mark J. Reed wrote:
On Thu, Jul 24, 2008 at 9:55 AM, Nigel Garvey
> Unfortunately, my Jaguar system doesn't recognise the "readlink" command,
> but that's not the end of the world! :)
Yeah, the "readlink" shell command is a relatively recent innovation
in UNIXland; traditional practice was to use "ls" and pick the output
apart (with awk/cut/sed/whatever).
Yet another solution is to use AppleScript's "read" command, as in:
read file "path:to:symbolic:link"
--> the target of the link
(of course, don't use "alias" here)
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden