Re: #!/usr/bin/env python -tt is invalid.

2006-07-16 Thread Lars Gullik Bjønnes
Enrico Forestieri <[EMAIL PROTECTED]> writes: | On Sat, Jul 15, 2006 at 07:29:41PM +0200, Enrico Forestieri wrote: | | > On Sat, Jul 15, 2006 at 09:43:31AM -0500, Bo Peng wrote: | > | > > > > I just notice that -tt breaks the #! line so we should not have added | > > > > -tt to this line. | > >

Re: #!/usr/bin/env python -tt is invalid.

2006-07-16 Thread Georg Baum
Am Samstag, 15. Juli 2006 16:43 schrieb Bo Peng: > > > I just notice that -tt breaks the #! line so we should not have added > > > -tt to this line. > > > > How? It works here. > > Here is redhat RHEL4, TeXFiles.py generates > > /usr/bin/env: python -tt: no such file or directory. I get this now

Re: #!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Bo Peng
All in all, I think that -tt should be replaced by an explicative comment as it is pretty useless used in that way. Since we are calling these scripts with python -tt script.py, it is not necessary to have -tt in the first line, even just for compatibility reasons. Bo

Re: #!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Enrico Forestieri
On Sat, Jul 15, 2006 at 07:29:41PM +0200, Enrico Forestieri wrote: > On Sat, Jul 15, 2006 at 09:43:31AM -0500, Bo Peng wrote: > > > > > I just notice that -tt breaks the #! line so we should not have added > > > > -tt to this line. > > > > > > How? It works here. > > > > Here is redhat RHEL4, Te

Re: #!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Enrico Forestieri
On Sat, Jul 15, 2006 at 09:43:31AM -0500, Bo Peng wrote: > > > I just notice that -tt breaks the #! line so we should not have added > > > -tt to this line. > > > > How? It works here. > > Here is redhat RHEL4, TeXFiles.py generates > > /usr/bin/env: python -tt: no such file or directory. I get

Re: #!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Bo Peng
> I just notice that -tt breaks the #! line so we should not have added > -tt to this line. How? It works here. Here is redhat RHEL4, TeXFiles.py generates /usr/bin/env: python -tt: no such file or directory. Your script may have #!/usr/bin/python -tt which should work (but not if python ins

Re: #!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Georg Baum
Am Samstag, 15. Juli 2006 16:18 schrieb Bo Peng: > Hi, Georg, > > I just notice that -tt breaks the #! line so we should not have added > -tt to this line. How? It works here. > It does not matter now since lyx always calls them > using "python script.py". With that argument the whole line is

#!/usr/bin/env python -tt is invalid.

2006-07-15 Thread Bo Peng
Hi, Georg, I just notice that -tt breaks the #! line so we should not have added -tt to this line. It does not matter now since lyx always calls them using "python script.py". Bo