On Sat, 15 May 2010, Denys Vlasenko wrote:
> On Saturday 15 May 2010 19:57, Cristian Ionescu-Idbohrn wrote:
> > On Sat, 15 May 2010, Denys Vlasenko wrote:
> >
> > > They are not bash compat :)
> >
> > Pick any one shell as _the_ reference shell and compare it with all
> > other major shells. The in"compat"ibilities (bash or not bash) will
> > be noticable.
>
> But bash is de-facto standard Linux shell.
Was. Things change. Several distributions made the choice to replace
bash with dash. I was not involved in that process. I'll have to live
with it. Mind you, I don't necessarily think it's a bad decision.
> Not ksh or zsh.
True. Still, dash came along to become the default shell. And the
busybox build scripts are now broken. And that makes a lot of people
unhappy.
> Therefore, it makes sense to match bash behavior
> where it does not require major coding.
Might.
> Sure, I can stop using "read" without parameter.
Please do. And please also change the shebang line on bash scripts.
That _only_ will improve things.
> But this does not affect many other shell scripts out there -
> hundreds or thousands of them use this construct.
Yes. But that doesn't change the standard.
> If, instead, we patch dash to understand "read" without parameter
> (which can't be too hard), all those scripts start working.
Sure. This is the dash upstream mailinglist address:
[email protected]
I'll avoid crossposting.
It would be great if people could come up to an agreement that serves
the user base.
Cheers,
--
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox