Re: ACGI form parsing in OSX?
Re: ACGI form parsing in OSX?
- Subject: Re: ACGI form parsing in OSX?
- From: Christopher Nebel <email@hidden>
- Date: Fri, 1 Feb 2002 14:37:31 -0800
On Friday, February 1, 2002, at 01:51 PM, Reinhold Penner wrote:
Chris Nebel was kind enough to set me straight on the use of perl in a
do shell script. I don't know why he didn't send this to the list, but
I find this such a great way of manipulating text that I'd like to
forward his comments ...
Yeah, I'm not sure why I did that either. :-)
Thanks to Chris, now we can use some cool regexp commands in the shell
without any osax.
It is cool, but it's also very slow: each call to "do shell script"
carries significant overhead. If you're just calling it a few times
it's not that bad, but a few hundred times starts to get painful.
The greatest thing about this is that you can pass a completely bogus
shell script to the Applescript-Users list and it will return a
properly corrected version of it :-)
<Odd gleam enters eyes.> You know, because SOAP and IP don't impose any
maximum allowed response time, you could write a SOAP service that
actually did that. You could send your broken script with a command of
"debug", and you'd get back (maybe much later) a working version,
courtesy of one of the AppleScript gurus. Hmm...
--Chris Nebel
AppleScript Engineering