• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is this legit? [POSIX]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Is this legit? [POSIX] (From: "Nigel Garvey" <email@hidden>)
 >Re: Is this legit? [POSIX] (From: "Nigel Garvey" <email@hidden>)
 >Re: Is this legit? [POSIX] (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Word 2004 Performance Problems
  • Next by Date: Re: Is this legit? [POSIX]
  • Previous by thread: Re: Is this legit? [POSIX]
  • Next by thread: Re: Is this legit? [POSIX]
  • Index(es):
    • Date
    • Thread