• 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: Include "\" in do shell script command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Include "\" in do shell script command


  • Subject: Re: Include "\" in do shell script command
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Fri, 18 Jul 2003 14:45:30 -0400

On Friday, July 18, 2003, at 02:35 PM, Steven Majewski wrote:


On Friday, July 18, 2003, at 02:30 PM, Steven D. Majewski wrote:

Tim,

This works for me with the_id set to either yours or mine:

set the_id to "****"
do shell script "whois -h whois.virginia.edu \\!" & the_id



I also tried using '(ASCII character 92)' as in your example,
except, since you had already said that it didn't work, I doubled it:

do shell script "whois -h whois.virginia.edu " & ,
(ASCII character 92) & (ASCII character 92) & "!" & "sdm7g"

and got:

"whois: No matches for your search key '\\!sdm7g'"


So I took out the extra (ASCII character 92) and it worked find for me.

The problem must be hiding somewhere else, Tim.


-- Steve.
_______________________________________________
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.

References: 
 >Re: Include "\" in do shell script command (From: Steven Majewski <email@hidden>)

  • Prev by Date: Re: Include "\" in do shell script command
  • Next by Date: Re: Include "\" in do shell script command
  • Previous by thread: Re: Include "\" in do shell script command
  • Next by thread: Re: Include "\" in do shell script command
  • Index(es):
    • Date
    • Thread