[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how execute a script

shawn wilson wrote:
> Oh and before someone says "but there's some standard that says you're
> supposed to put a shebang at the top" - afaik, it's not in POSIX
> anywhere:
> http://www.in-ulm.de/~mascheck/various/shebang/

tomas writes:
> You forgot to mention that it's in AT&T Unix since 1979. I'd venture to
> say that nowadays it is an integral part of Unix.

In fact the shebang in ASCII is the magic number for a shell script.  I
think that the relevant standard would be the SUS.
John Hasler 
Elmwood, WI USA

Reply to: