From: pj at sgi.com (Paul Jackson)
Date: 16 Apr 1999 17:24:39 GMT
Subject: #!/usr/bin/env python -u
References: <37175574.25EBDDBE@stuco.uni-klu.ac.at>
Message-ID: <7f7ron$ur2o@fido.engr.sgi.com>
X-UID: 778                                                  

Not that this is any help, but other kernels besides Linux don't
pass #! arguments in full generality.  For example, the Irix
system I'm on right now is doing pretty much the same thing.

Part of this is the convention, apparent on both my Linux and
Irix boxes, to pass the name of the script file as argv[2],
which leaves argv[1] stuck with the entire trailing argument
list from the #! line.
-- 

=======================================================================
I won't rest till it's the best ...	   Software Production Engineer
Paul Jackson (pj at sgi.com; pj at usa.net) 3x1373 http://sam.engr.sgi.com/pj




