• 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: do shell script - quotation marks problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script - quotation marks problem


  • Subject: Re: do shell script - quotation marks problem
  • From: Bill White <email@hidden>
  • Date: Sat, 18 Dec 2004 12:59:29 -0500

On 12/18/04 12:43 PM, Armin Egginger <email@hidden> wrote:

> do shell script " grep Volumename | cut -d "  " -fl"
>
> This doesn't function. The quotation marks between the d and -fl stop the
> compilation and gives an error back. Is it possible to send this kind of
> command by applescript?

To use a literal quotation mark, put a backslash character \ before it, like
this:

do shell script " grep Volumename | cut -d \"  \" -fl"

Or something like: display dialog "Look, it's \"Santa Claus\""

HTH,

Bill


 _______________________________________________
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

References: 
 >do shell script - quotation marks problem (From: Armin Egginger <email@hidden>)

  • Prev by Date: Re: do shell script - quotation marks problem
  • Next by Date: Re: Play Sound
  • Previous by thread: Re: do shell script - quotation marks problem
  • Next by thread: Re: do shell script - quotation marks problem
  • Index(es):
    • Date
    • Thread