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

Re: Japanese backslash


  • Subject: Re: Japanese backslash
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 22 Apr 2007 17:06:20 -0700

On Apr 22, 2007, at 4:17 PM, email@hidden wrote:

Admittedly a bit confusing example. I need that particular sequence to
run a shell script:

"sed -e 's/<key>Title<\/key>//g'"

But it doesn't matter. I need the backslash for other purposes as well.

The only way to put a backslash into a string in Applescript is to escape it with another backslash.


"\/" does not compile.  "\\/" does compile.

Does this work:
"sed -e 's/<key>Title<" & (ASCII character 92) & "/key>//g'"

Perhaps you need to use "quoted form of"

quoted form of "sed -e 's/<key>Title<" & (ASCII character 92) & "/ key>//g'"

--
The difference between running and jogging is an entry form.


_______________________________________________ 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: 
 >Re: Japanese backslash (From: email@hidden)

  • Prev by Date: Re: Japanese backslash
  • Next by Date: Re: Japanese backslash
  • Previous by thread: Re: Japanese backslash
  • Next by thread: Re: Japanese backslash
  • Index(es):
    • Date
    • Thread