Re: Script Menu In OS X
Re: Script Menu In OS X
- Subject: Re: Script Menu In OS X
- From: John W Baxter <email@hidden>
- Date: Tue, 30 Oct 2001 08:28:13 -0800
At 2:47 -0500 10/30/2001, Chris Nebel wrote:
>
It's a little weird about it, though -- if it doesn't see
>
"#!/usr/bin/perl", it executes it using /bin/sh, which means you can't
>
throw an arbitrary script at it. E.g., you couldn't use a csh script by
>
leading off with "#!/bin/csh". This might be construed as a feature,
>
but I'd consider it an iffy one at best.
Takes a powrful lot of construin' to call that a fitcher. ;-)
I suppose Apple can point to it and say "See, Mac OS X isn't Unix." It's
particularly iffy when the out-of-the-box user shell script setting is tcsh
(csh on steroids, and with syntax unlike sh syntax). And you just told me
I can't run Python scripts without wrapping them in an sh script. Which
unfortuantely seems to be true*. Ah, well.
--John
*At least, selecting this one makes no sound.
#!/usr/bin/python
print """\aThis is a test"""
--
John Baxter email@hidden Port Ludlow, WA, USA