It's actually a script: Finder (Get Info, I assume) was being stupidActually the hash-bang (#!) combo is the magic combo to direct the shell to the appropriate interpreter for the file in question, if that file has had the execute permission bits set.
in calling everything with an execute bit an "executable"... it should
look at the first two bytes of the file (the magic number) and see if
it's binary (what in UNIX land would be referred to as 'an executable')
or the magic value '#!' which makes it a script.
Executableness has more to do with file permissions than with binary or ASCII file format. After all, a shell script or a perl program is an ASCII file, but if the execute permission bits are set the shell will read the determine the interpreter from the hash-bang line, and run that interpreter with the script as an argument.
It's possible to have scripts without #!, and they will run provided the interpreter is prefaced on the command line (a'la "sh ./some.shell.script.sh" or "perl -e myprogram.perl").
-- Unsupported OS X is sponsored by <http://lowendmac.com/>
Support Low End Mac <http://lowendmac.com/lists/support.html>
Unsupported OS X list info <http://lowendmac.com/lists/unsupported.html> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> Archive <http://www.mail-archive.com/unsupportedosx%40mail.maclaunch.com/>
Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
