Re: Japanese backslash
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