[haiku-development] Re: sh vs bash

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 24 Mar 2009 19:32:13 +0100 CET

> >> "François Revol" <revol@xxxxxxx> wrote:
> >>> I believe we should really install bash as "bash" in the image
> > > > and
> >>> symlink it as sh, not the opposite as is currently done.
> >>>
> >>> I have a patch ready to apply, anyone against it ?
> >>
> >> Not that I would be against this, but why?
> >
> > Dunno, I don't think there would be any side effect, but with bash
> > you
> > never know.
>
> I think he was asking, why you want to do this - not, why would
> anyone be against it.  I had the same question.

Because it's just cleaner and more logical this way.
It's how it's done in Linux and other Unices.

> I just looked over the "set" output, though, and can't find any
> difference -
> bash sets itself up differently if invoked as "sh", but doesn't
> appear
> to notice in either case that it's a symbolic link.  So even if we
> don't
> know why we're doing it, it looks like we can proceed without fear
> that
> it will make any difference.

It's really just for clarity.

François.

Other related posts: