> > > > 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
> partition.
Most people would also expect " and ' to work, and $FOO to work
:-(. So I believe keeping it simple is right.
Pavel
-- Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email? - 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/