• 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's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell Script's


  • Subject: Re: Shell Script's
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 10 Mar 2008 00:18:27 -0400

I assumed the goal was to have *unescaped* quotes in the shell
command.  Knowing the actual command in question would help.

Quoted form of is useful for individual "words" of a shell command,
but not for the whole thing. :)

On 3/10/08, Doug McNutt <email@hidden> wrote:
> At 23:48 -0400 3/9/08, Mark J. Reed wrote:
> >On Sun, Mar 9, 2008 at 11:38 PM, Connor DiPietro <email@hidden> wrote:
> >> Hi
> >>  I am trying to make and an application in Xcode written in
> >>  applescript, and when someone clicks a button i want to preform a
> >>  shell script. i Am having difficulty preforming the shell script
> >>  (let's say x's represent the shell script)
> >>
> >
> >To include double quotes inside a string in AppleScript, escape them
> >with a backslash, e.g.
> >
> >do shell script "xxxxxxxxxxx\"xxx\"xxxxx xxx xxx"
>
> Yeah. But be careful because AppleScript itself is likely to interpret the
> backslashes which can require that the backslashes be escaped with yet more
> backslashes.
>
> Learn about "quoted form of".  There's an app note about it by Chris Nebel.
> --
>
> --> From the U S of A, the only socialist country that refuses to admit it.
> <--
>  _______________________________________________
> 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
>


--
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Shell Script's (From: Connor DiPietro <email@hidden>)
 >Re: Shell Script's (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Shell Script's
  • Next by Date: Re: Shell Script's
  • Previous by thread: Re: Shell Script's
  • Next by thread: Re: Shell Script's
  • Index(es):
    • Date
    • Thread