Re: [PATCH] Linux 2.6: shebang handling in fs/binfmt_script.c

From: Hansjoerg Lipp
Date: Mon Feb 23 2004 - 15:32:56 EST


On Sun, Feb 22, 2004 at 09:44:57PM -0800, Paul Jackson wrote:
> > I believe the question was "which shell expects the name in argv[2]
>
> The question is more like: examine each shell's argument parsing code to
> determine which ones will or will not be affected by this. For a change
> like this, someone needs to actually look at the code for each major
> shell, and verify their reading of the code with a little experimentation.

I still don't understand your argument... If there is a shell having
those problems, nobody would use something like

#!/shell -foo -bar

And the "old"

#!/shell -foo

or

#!/shell

still work as usual (if there are no whitespace characters in the
parameter).

Regards,

Hansjoerg Lipp
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/