Re: CGIs with OSX
Re: CGIs with OSX
- Subject: Re: CGIs with OSX
- From: T&B <email@hidden>
- Date: Mon, 2 Apr 2001 17:41:38 +1000
AFAIK the command "osascript" works with files, not strings.
No, osascript does both :-) The man page doesn't make it clear:
"DESCRIPTION
osascript executes the given script file, or standard input if none
is
given."
but it does work. To prove it, try this via Telnet:
/usr/bin/osascript '2+3'
which compiles on the fly and gives the result of 5.
Since you can give it strings, it compiles on the fly and can include
variables for dynamic output.
Tom
T&B
http://www.tandb.com.au