On Sat, 4 Aug 2001, Greg Ward <gward@python.net> wrote: > Completely off-topic: the "/usr/bin/env" hack doesn't work with > command-line arguments under Linux: > > $ cat t.py > #!/usr/bin/env python -i > > print "hello" > > $ ./t.py > /usr/bin/env: python -i: No such file or directory That's what POSIX mandates, IIRC. Blame UNIX for using such an ugly hack for shebang lines. It's probably better to use #!/usr/bin/python and use binfmt_misc under linux with the correct echo > something/in/proc magic to alias it to the correct interpreter. -- Moshe Zadka - http://moshez.geek (if you're not cool, http://moshez.org is still working)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4