Followup to: <20021209182605.GA22747@atrey.karlin.mff.cuni.cz>
By author: Pavel Machek <pavel@ucw.cz>
In newsgroup: linux.dev.kernel
>
> 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
partition.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com> - 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/
This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:15 EST