echo and test builtins for msh/hush
Rob Landley
rob at landley.net
Fri Jun 16 15:38:59 PDT 2006
On Friday 16 June 2006 4:00 pm, Mike Frysinger wrote:
> On Friday 16 June 2006 00:31, Rob Landley wrote:
> > On Thursday 15 June 2006 10:52 pm, Paul Fox wrote:
> > > when i started looking at msh the other day, i realized that it
> > > would probably make some people happy if the other scriptable
> > > shells in busybox had the builtin echo and test improvements.
> > > (particularly msh, since it seems to be the only uclinux
> > > compatible shell, correct?)
> > >
> > > so i added them to msh, and to hush. i didn't add them to lash
> > > since it's not really scriptable, and this only really makes a
> > > difference in that case.
> >
> > Not just that but I intend to obsolete those shells.
>
> msh cant really be obsoleted until another shell exists that doesnt use
> fork() -mike
Or can be configured to not use fork(). Yes, I'm aware of this. However,
when using vfork() it has to exec something to unblock the parent. (See svn
15380 for a start of support for that, making /proc/self/exe a config
option.) Having a config option to just fork() and not exec anything may
actually be worth doing for standalone shell mode, I haven't decided yet.
Rob
P.S. Nope, no link. Didn't forget, didn't bother either.
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list