• 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: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Additions: Embracing the Horror of Unix


  • Subject: Re: Scripting Additions: Embracing the Horror of Unix
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 01 Feb 2002 10:45:03 +1100

On 1/2/02 9:55 AM +1000, Oliver Sun, email@hidden, wrote:

> Am I understanding you correctly that you are trying to pass a string
> from AppleScript to a shell script, which may possibly have spaces or
> other special characters?
>
> Example: "My HD:Users:Me:Documents:My Funny Stuff:WTF$CK" in the
> traditional Mac form needs to become the POSIX path
> /Users/Me/Documents/My Funny Stuff/WTF$CK, except you must deal with the
> spaces and the $ ?
>
> If so, you will want to use single quotes, which are even stronger than
> the double quote.

So is this what the new "quoted form" property of a string provides
automatically? So we can get the POSX path, then get the quoted form of
that, and use the result safely without further ado?

--
Shane Stanley, email@hidden


  • Prev by Date: Re: Export to a PDF from Quark
  • Next by Date: Re: How to coerce a real to an integer in X?
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread