Re: Include "\" in do shell script command
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.