Marcus von Appen wrote:
On, Tue May 12, 2009, Lenard Lindstrom wrote:
Marius Gedminas wrote:
On Tue, May 12, 2009 at 11:49:36AM -0700, Lenard Lindstrom wrote:
I was looking at the Pygame examples in linux and noted that many have
the '#!/usr/bin/env python' tag line but are not marked as executable
either by SVN or linux. Is there a convention for this?
If it has a #! line, and works when executed, it should be marked as
executable in svn/file system permissions.
Marius Gedminas
I agree. But if nothing is to be marked 'executable' then all #! lines
should be removed.
Why that? The #! is not related to the executable bit.
To me the '!#...' suggests the file is also executable. It just feels
incomplete and a bit inconsiderate to then not also have the executable
mod as well. Maybe the 'sh something.py' works on some systems, it
didn't with Debian (eg examples/vgrade.py). But yes, overall it doesn't
matter.
Lenard