• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Menu In OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Script Menu In OS X
      • From: Christopher Nebel <email@hidden>
References: 
 >Script Menu In OS X (From: Jason Bourque <email@hidden>)
 >Re: Script Menu In OS X (From: garbanzito <email@hidden>)
 >Re: Script Menu In OS X (From: Chris Nebel <email@hidden>)

  • Prev by Date: Re: AppleScript formatting & web page size
  • Next by Date: Re: Inscrutable DiskCopy
  • Previous by thread: Re: Script Menu In OS X
  • Next by thread: Re: Script Menu In OS X
  • Index(es):
    • Date
    • Thread