Re: [PATCH] Re: #! incompatible -- binfmt_script.c broken?

From: H. Peter Anvin (
Date: Mon Dec 09 2002 - 14:23:03 EST

Followup to: <>
By author: Pavel Machek <>
In newsgroup:
> Hi!
> > > Why can't we simply have /bin/bash_that_splits_args_itself
> >
> > We could, but it would in practice mean doing an extra exec() for each
> > executable. This seems undesirable.
> Only for executables that need argument spliting... For such scripts I
> guess we can get handle the overhead.

We probably can, but a better question is really: what are the
semantics that users expect? Given that Unices are by and large
inconsistent, we should pick the behaviour that makes sense to the
most people. I suspect that most people would expect whitespace


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."	<>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:15 EST