• 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: How do I escape a question mark (?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I escape a question mark (?)


  • Subject: Re: How do I escape a question mark (?)
  • From: Matthew Smith <email@hidden>
  • Date: Mon, 05 Aug 2002 14:28:24 +1000

on 05/08/2002 13:20, Reinhold Penner at email@hidden wrote:

> 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?

What about:

set x to "test.cgi?"

--
Matthew Smith
_______________________________________________
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: How do I escape a question mark (?)
      • From: Reinhold Penner <email@hidden>
References: 
 >How do I escape a question mark (?) (From: Reinhold Penner <email@hidden>)

  • Prev by Date: Re: Misc Eudora questions
  • Next by Date: an Applescript solution to the sweltering heat (Re: OT: Eskimo words for snow (Re: what's a "froplet"?))
  • Previous by thread: Applescript CGI Tutorial
  • Next by thread: Re: How do I escape a question mark (?)
  • Index(es):
    • Date
    • Thread