Re: How do I escape a question mark (?)
Re: How do I escape a question mark (?)
- Subject: Re: How do I escape a question mark (?)
- From: Nathan Day <email@hidden>
- Date: Mon, 5 Aug 2002 18:02:28 +0930
How are you determining that
set x to "test.cgi\\?"
doesn't work, put it in a display dialog and you will see that it does,
the result window shows the escape sequence.
On Monday, August 5, 2002, at 01:15 PM, Reinhold Penner wrote:
Rob,
On Sunday, August 4, 2002, at 05:38 , Rob Jorgensen wrote:
On 8/4/02, Reinhold Penner commented:
I need help:
set x to "test.cgi\?"
will not compile (expected """ but found unknown token). What's up
with that? For use in a do shell script, I need to escape a URL that
contains a .cgi? portion. Pasting the URL with the backslashed ? (\?)
works just fine in the Terminal, but I can't pass the URL to the
shell, since AS refuses to compile a string containing "\?". Is there
another way of escaping in either AS or the shell?
Does this work?
set x to "test.cgi\\?"
Unfortunately not:
--> "test.cgi\\?"
This is driving me nuts. I am now at the point where I'm posting the
data. But I really would like to know what the deal is with the ?
-Reinhold
_______________________________________________
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.
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
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.