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

From: Paul Jackson
Date: Mon Feb 23 2004 - 15:13:11 EST


> Anyway that's irrelevant: the splitting change only affects shell _scripts_

Well, I wouldn't say 'irrelevant'. Some might claim that this question
(what the major shell's do) is already known, but surely it does matter.

The shells _do_ need to find the path to the script file in the argv[]
passed to them, and the proposed change does alter the parsing of that
argv[].

The splitting does not affect only the scripts. It also affects the
argv[] array presented to the shells, which may or may not deal with
such as we would like.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/