• 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: Shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script


  • Subject: Re: Shell script
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 19 Apr 2005 15:59:14 -0700

On Apr 10, 2005, at 9:12 PM, Emmanuel wrote:

At 1:10 PM +1000 4/11/05, Matthew Smith wrote:

set objectFolder to (path to me)
return (do shell script ((POSIX path of (objectFolder)) & ¬
"/Contents/Resources/shellscript -un " & var))


This will make a path with two slashes, I think. Maybe it's irrelevant, or not, I don't know.

Multiple slashes are not relevant in POSIX paths -- you can think of the path separator as "one or more slashes". This is in contrast to HFS paths, where multiple colons are highly relevant.



--Chris Nebel AppleScript Engineering

_______________________________________________
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


  • Follow-Ups:
    • Re: Shell script
      • From: Emmanuel <email@hidden>
    • Re: Shell script
      • From: Martin Orpen <email@hidden>
References: 
 >Re: Shell script (From: Matthew Smith <email@hidden>)
 >Re: Shell script (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: shell equivalent to text 1 thru -9?
  • Next by Date: Re: shell equivalent to text 1 thru -9?
  • Previous by thread: Re: Shell script
  • Next by thread: Re: Shell script
  • Index(es):
    • Date
    • Thread