• 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: Escape Apostrophes in 'Do Shell Script'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escape Apostrophes in 'Do Shell Script'


  • Subject: Re: Escape Apostrophes in 'Do Shell Script'
  • From: Emmanuel <email@hidden>
  • Date: Thu, 6 Nov 2003 07:27:44 +0100

At 11:01 PM -0600 05/11/03, Jay Young wrote:
> Basically, I'm wondering if
>there's a way to escape apostrophes in a 'do shell script' in case a
>word contains an apostrophe itself.

I think that Christopher Nebel is sleeping, so:

---------------------------
quoted form of "What's Up?"
--> "'What'\\''s Up?'"
---------------------------

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Escape Apostrophes in 'Do Shell Script'
      • From: Christopher Nebel <email@hidden>
References: 
 >Escape Apostrophes in 'Do Shell Script' (From: Jay Young <email@hidden>)

  • Prev by Date: Re: Escape Apostrophes in 'Do Shell Script'
  • Next by Date: Bug reading file as UTF-8? [Was: Reading file containing UTF-8]
  • Previous by thread: Re: Escape Apostrophes in 'Do Shell Script'
  • Next by thread: Re: Escape Apostrophes in 'Do Shell Script'
  • Index(es):
    • Date
    • Thread