Michael Torrie <torr...@gmail.com> writes: > Actually, the shell isn't involved in parsing the shebang line at all. > That's actually done in the kernel by the program loader. So it's the > kernel that has a problem with it; wonder if Linus would accept a patch > to ignore the tailing CR?
Worth a try in my opinion. There's some historical information about the shebang at http://www.in-ulm.de/~mascheck/various/shebang/ There's a table which says Linux since 2.4.0 removes trailing whitespace from the shebang line. I guess Linux doesn't count CR as whitespace in this context. -- http://mail.python.org/mailman/listinfo/python-list