In article
<384431b0-3178-4239-a376-410395b0abfd@[EMAIL PROTECTED]
>,
biz@[EMAIL PROTECTED]
wrote:
> On Jan 4, 12:56 am, Sander Tekelenburg <u...@[EMAIL PROTECTED]
> wrote:
[...]
> > set theResult to (do shell script "curl -Ihttp://ww.google.com")
That's not what I posted. Look carefully at my origial text. You removed
a space -- an essential one (as all characters are, in programming ;)).
Either you somehow messed up the quoting manually, or your newsclient
(Google apparently), screwed things up. Given that your quoting habit
sucks anyway, my bet is that Google is to blame. I suggest you upgrade
to a real newsclient. Plenty of options: <http://www.newsreaders.com/>.
In article
<847897e1-6163-4631-a1b2-89b74e839355@[EMAIL PROTECTED]
>,
biz@[EMAIL PROTECTED]
wrote:
> I GOT IT! Thanks alot. Just had to change the wording a bit (if
> contains "google" then...) and now it works fine. Thanks again
You're welcome, but your change makes it less reliable. There is no
guarantee that the result will contain the string "google". That string
just happens to be in what Google's servers output today, and only for
certain addresses, and very likely only to certain IP addresses, etc.
What I posted is far more reliable. If it doesn't work, you're running
something else than what I posted. (Every character counts, so be
careful when copy&pasting code -- especially beware of linewraps
introduced by newsclients, newsservers, etc.)
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"


|