Re: shebang line parsing changed in FreeBSD6

2006-06-14 Thread Lowell Gilbert
Alfred Morgan [EMAIL PROTECTED] writes: Can someone explain to me why parsing of the shebang line changed? http://www.freebsd.org/cgi/query-pr.cgi?pr=16393 ___ freebsd-questions@freebsd.org mailing list

Re: shebang line parsing changed in FreeBSD6

2006-06-14 Thread Alfred Morgan
http://www.freebsd.org/cgi/query-pr.cgi?pr=16393 I see that this problem is so convoluted that the shebang line has different implementations on the different systems. What about the idea of adding a space after #! to indicate to parse it the way freebsd did. The space following #! will

shebang line parsing changed in FreeBSD6

2006-06-13 Thread Alfred Morgan
Can someone explain to me why parsing of the shebang line changed? ...for the worse in my opinion. I want to do this in FreeBSD6: #!/usr/bin/env python -u I can't do this because the shebang is evaluated as /usr/bin/env 'python -u' which causes an error. So I read the man page for env and