What determines the Shell used by Mercurial?
Mike Meyer
mwm at mired.org
Tue Aug 24 17:56:41 UTC 2010
On Tue, 24 Aug 2010 11:08:42 -0600
Chad Perrin <code at apotheon.net> wrote:
> On Tue, Aug 24, 2010 at 10:59:32AM -0600, Chad Perrin wrote:
> >
> > On the other hand, I'm pretty sure my FreeBSD laptop's /bin/sh is a
> > "true" sh, and it handles `/bin/sh -c ~/foo` just fine. It really does
> > seem like some kind of Sun-related problem. Is Solaris' sh perhaps a
> > proprietary fork or reimplementation with nonstandard behavior?
>
> My mistake -- I see that FreeBSD's sh actually has some Berkeley
> extensions. I'd expect Sun's to have such extensions as well, given that
> SunOS was originally a BSD Unix fork, but I suppose NIH might have
> changed things.
What changed things was the agreement with AT&T that led to Solaris,
which wasn't a BSD Unix fork. The default user environment was pretty
much pure System V - /usr/ucb (or was it /usr/bsd?) wasn't even in it.
The transition was not a pretty thing.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the Mercurial
mailing list