Messages in this thread | | | Date | Thu, 5 Dec 2002 12:55:13 +0100 | From | Matthias Andree <> | Subject | Re: #! incompatible -- binfmt_script.c broken? |
| |
On Wed, 04 Dec 2002, Matthew Garrett wrote:
> See http://www.uni-ulm.de/~s_smasch/various/shebang/ . FreeBSD is the > *only* OS to pass multiple arguments. SUS says nothing about it, and > pretty much every single implementation varies. It does not work > everywhere else.
Now that's a useful resource.
> File a bug against perlrun(1).
Hum, no. In fact, the offending line will work:
- on systems that only pass on the first argument or none at all - on systems that split on whitespace - on /bin/sh that silently ignore options starting with "-- "
So it's somewhat compatible already. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |