#!/usr/bin/python or #!/usr/bin/env python?

Erik Max Francis max at alcyone.com
Wed Aug 9 15:30:21 EDT 2006


Tobias Brox wrote:

> A shell script containing some inline tcl is a shell script, though
> when the only shell-command is "start up tcl" and the rest of the file
> is tcl-code, I really don't think it can be defined as a "shell
> script" anymore.  Particularly not if almost all tcl-scripts are
> started that way.

The problem is that there are endless ways to do that, and figuring out 
all the cases makes `file` an sh interpreter, not the magic number 
detector it's supposed to be.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   Punctuality is the virtue of the bored.
    -- Evelyn Waugh



More information about the Python-list mailing list